Skip to content

Commit 1dea21c

Browse files
committed
remove redundant exception
Signed-off-by: Lin Jin <[email protected]>
1 parent d30d02a commit 1dea21c

File tree

1 file changed

+1
-1
lines changed
  • sonic-psud/scripts

1 file changed

+1
-1
lines changed

sonic-psud/scripts/psud

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def get_psu_key(psu_index):
183183
if psu:
184184
try:
185185
return psu.get_name()
186-
except (NotImplementedError, IndexError, Exception):
186+
except Exception:
187187
pass
188188
return PSU_INFO_KEY_TEMPLATE.format(psu_index)
189189

0 commit comments

Comments
 (0)