Skip to content

Commit

Permalink
Merge pull request #288 from fhopf/patch-1
Browse files Browse the repository at this point in the history
Improved error message for missing logstash_version
  • Loading branch information
josegonzalez committed Jan 23, 2015
2 parents 02225e9 + 5e9573d commit 5469c3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beaver/dispatcher/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def run(args=None):
logger = setup_custom_logger('beaver', args, config=beaver_config)

if beaver_config.get('logstash_version') not in [0, 1]:
raise LookupError("Invalid logstash_version")
raise LookupError("Invalid logstash_version. Set it to 0 or 1 in your config.")

queue = multiprocessing.Queue(beaver_config.get('max_queue_size'))

Expand Down

0 comments on commit 5469c3c

Please sign in to comment.