Be more verbose about the missing aports directory (#1454)

Show the expected path in the error message.
This commit is contained in:
Marcin Mielniczuk 2018-05-01 02:49:20 +02:00 committed by Oliver Smith
parent 543705262b
commit 36c5ce3ca4
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ def deviceinfo(args, device=None):
device = args.device
if not os.path.exists(args.aports):
logging.fatal("Aports directory is missing")
logging.fatal("Aports directory is missing, expected: " + args.aports)
logging.fatal("Please provide a path to the aports directory using the -p flag")
raise RuntimeError("Aports directory missing")