Skip to content

Commit e06bcdb

Browse files
benjambbarthalion
authored andcommitted
fix: Catch Exception instead of bare except
1 parent 6fce32d commit e06bcdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flat-manager-client

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ if __name__ == '__main__':
967967
}
968968
}
969969
}
970-
except:
970+
except Exception:
971971
ei = sys.exc_info()
972972
eprint("Unexpected %s exception in %s: %s" % (ei[0].__name__, args.subparser_name, ei[1]))
973973
eprint(traceback.format_exc())

0 commit comments

Comments
 (0)