Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stall-analyser: gracefully handle empty input
Currently, the tools prints an obscure error if the input is empty: ``` Traceback (most recent call last): File "/home/bhalevy/dev/scylla_s3_reloc_server/./seastar//scripts/stall-analyser.py", line 363, in <module> print_stats(tally, tmin) ^^^^ NameError: name 'tmin' is not defined. Did you mean: 'min'? ``` Instead, print a meaningful error and direct the user to run stall-analyser.py --help for usage instructions. Ref scylladb/scylla_s3_reloc_server#103 Signed-off-by: Benny Halevy <[email protected]>
- Loading branch information