Commit a3bf3c58 authored by Alexandre's avatar Alexandre
Browse files

Catch ValueError in option parsing

parent 83d29228
......@@ -982,7 +982,7 @@ if not monitoring:
mandatory_level = value
error("Unknown option %s" % option)
except getopt.error as reason:
except (getopt.error, ValueError) as reason:
if delay is not None and multistreams:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment