Skip to content

Commit

Permalink
More descriptive error message when failing to start collector
Browse files Browse the repository at this point in the history
  • Loading branch information
s7nfo authored Jul 2, 2024
1 parent fc9878e commit 5f487c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirron/cirron.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def __init__(self):
def __enter__(self):
ret_val = Collector.cirron_lib.start()
if ret_val == -1:
raise Exception("Failed to start collector.")
raise Exception("Failed to start collector. Make sure you have the right permissions, you might need to use sudo.")
self._fd = ret_val

return self
Expand Down

0 comments on commit 5f487c6

Please sign in to comment.