Skip to content

Commit

Permalink
Redefine err message for locustfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Brailey committed Jun 13, 2014
1 parent 3af34a3 commit e51ff5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def main():

locustfile = find_locustfile(options.locustfile)
if not locustfile:
logger.error("Could not find any locustfile! See --help for available options.")
logger.error("Could not find any locustfile! Ensure file ends in '.py' and see --help for available options.")
sys.exit(1)

docstring, locusts = load_locustfile(locustfile)
Expand Down

0 comments on commit e51ff5b

Please sign in to comment.