mirror of https://git.sr.ht/~cadence/NewLeaf
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:
parent
5125bb9461
commit
7737ea3ba5
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue