Skip to content

Commit

Permalink
Fix generic exception
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldessari committed Jan 2, 2024
1 parent ad30c52 commit 60ba6b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sarstats
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ if __name__ == '__main__':

try:
maxgraphs = int(args.maxgraphs)
except:
except Exception:
print("Error parsing --maxgraphs: {0}".format(args.maxgraphs))
sys.exit(-1)

Expand Down

0 comments on commit 60ba6b4

Please sign in to comment.