From e51ff5bf126cadf28debe4d5b15a4f4be99e48b3 Mon Sep 17 00:00:00 2001 From: Ryan Brailey Date: Fri, 13 Jun 2014 15:10:13 +1000 Subject: [PATCH] Redefine err message for locustfile --- locust/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locust/main.py b/locust/main.py index 40ebc9f0f1..a7b41a6d53 100644 --- a/locust/main.py +++ b/locust/main.py @@ -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)