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
1 changed files with 1 additions and 1 deletions

View File

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