Skip to content

Commit

Permalink
Change log level
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Sep 8, 2022
1 parent 280160d commit 0a516eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/mellanox/mlnx-platform-api/sonic_platform/sfp.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def _read_eeprom_specific_bytes(self, offset, num_bytes):
line_split = line.split()
eeprom_raw = eeprom_raw + line_split[1:]
except subprocess.CalledProcessError as e:
logger.log_error("Failed to get EEPROM data for sfp {}: {}".format(self.index, e.stderr))
logger.log_notice("Failed to get EEPROM data for sfp {}: {}".format(self.index, e.stderr))
return None

eeprom_raw = list(map(lambda h: int(h, base=16), eeprom_raw))
Expand Down

0 comments on commit 0a516eb

Please sign in to comment.