Include the mkvmerge return code on error

This commit is contained in:
rlaphoenix 2023-03-12 00:10:54 +00:00
parent d8acdda044
commit 90818f201d
1 changed files with 1 additions and 1 deletions

View File

@ -879,7 +879,7 @@ class dl:
if return_code == 1:
self.log.warning("mkvmerge had at least one warning, will continue anyway...")
elif return_code >= 2:
self.log.error(" - Failed to Mux video to Matroska file")
self.log.error(f"Failed to Mux video to Matroska file ({return_code})")
sys.exit(1)
else:
# dont mux