mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
Using stdout as error log when singlefile fails.
This commit is contained in:
parent
2ee39f0ace
commit
d10a228692
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ class ArchiveDownloader(Downloader, ABC):
|
|||
if logs and (stderr := logs.get('stderr') or ''):
|
||||
e = RuntimeError(stderr)
|
||||
raise RuntimeError(f'Singlefile created was invalid: {download.url}') from e
|
||||
if singlefile:
|
||||
e = RuntimeError(singlefile)
|
||||
raise RuntimeError(f'Singlefile created was invalid: {download.url}') from e
|
||||
raise RuntimeError(f'Singlefile created was invalid: {download.url}')
|
||||
|
||||
# Extract Readability from the Singlefile.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue