1
0
mirror of https://git.sr.ht/~cadence/NewLeaf synced 2024-11-21 23:27:29 +00:00

Fix #26 append detailed error message returned by yt-dlp in video extractor

Fixes https://todo.sr.ht/~cadence/tube/26
This commit is contained in:
Lomanic 2021-04-17 20:40:09 +02:00 committed by Cadence Ember
parent 5125bb9461
commit 7737ea3ba5
No known key found for this signature in database
GPG Key ID: BC1C2C61CF521B17

View File

@ -185,7 +185,7 @@ def extract_video(id):
} }
else: else:
result = { result = {
"error": "Unknown download error." "error": "Unknown download error: {}".format(e.exc_info[1])
} }
except Exception: except Exception: