Skip to content

Commit

Permalink
[syseepromd] Update warning message to be more informative (sonic-net…
Browse files Browse the repository at this point in the history
…#160)

Update warning message to be more informative.

Signed-off-by: liora <[email protected]>
  • Loading branch information
liorghub authored Mar 15, 2021
1 parent e5165b7 commit 70f4e7b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sonic-syseepromd/scripts/syseepromd
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ class DaemonSyseeprom(daemon_base.DaemonBase):
self.chassis = sonic_platform.platform.Platform().get_chassis()
self.eeprom = self.chassis.get_eeprom()
except Exception as e:
self.log_warning(
"Failed to load platform-specific eeprom from sonic_platform package due to {}".format(repr(e)))
self.log_warning("Failed to load data from eeprom using sonic_platform package due to {}, retrying using deprecated plugin method".format(repr(e)))

# If we didn't successfully load the class from the sonic_platform package, try loading the old plugin
if not self.eeprom:
Expand Down

0 comments on commit 70f4e7b

Please sign in to comment.