added more detailed exception text

This commit is contained in:
samerbam 2023-06-12 15:12:57 -04:00
parent c3d9e30470
commit 00999a95e4

View File

@ -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: