Skip to content

Commit 70f4e7b

Browse files
authored
[syseepromd] Update warning message to be more informative (sonic-net#160)
Update warning message to be more informative. Signed-off-by: liora <[email protected]>
1 parent e5165b7 commit 70f4e7b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sonic-syseepromd/scripts/syseepromd

+1-2
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,7 @@ class DaemonSyseeprom(daemon_base.DaemonBase):
121121
self.chassis = sonic_platform.platform.Platform().get_chassis()
122122
self.eeprom = self.chassis.get_eeprom()
123123
except Exception as e:
124-
self.log_warning(
125-
"Failed to load platform-specific eeprom from sonic_platform package due to {}".format(repr(e)))
124+
self.log_warning("Failed to load data from eeprom using sonic_platform package due to {}, retrying using deprecated plugin method".format(repr(e)))
126125

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

0 commit comments

Comments
 (0)