added more detailed exception text

master
samerbam 1 year ago
parent c3d9e30470
commit 00999a95e4

@ -180,7 +180,7 @@ def downloader(args):
if len(cur) > 0: if len(cur) > 0:
cur = cur[0] cur = cur[0]
else len(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: if storyId:

Loading…
Cancel
Save