From 00999a95e4a1e5c1ca17541a09e059ef79bf78a6 Mon Sep 17 00:00:00 2001 From: samerbam Date: Mon, 12 Jun 2023 15:12:57 -0400 Subject: [PATCH] added more detailed exception text --- root/app/fanficdownload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/app/fanficdownload.py b/root/app/fanficdownload.py index ef1da1e..5ede703 100644 --- a/root/app/fanficdownload.py +++ b/root/app/fanficdownload.py @@ -180,7 +180,7 @@ def downloader(args): if len(cur) > 0: cur = cur[0] else len(cur) == 0: - raise Exception('Could not find .epub, work likely did not download. Exception raised on get_files(loc, ".epub", True)[0].') + raise Exception(f'Could not find .epub, work likely did not download. Exception raised on get_files(loc, ".epub", True)[0]. result from command is: {res}') if storyId: