Include the mkvmerge return code on error
This commit is contained in:
@@ -879,7 +879,7 @@ class dl:
|
|||||||
if return_code == 1:
|
if return_code == 1:
|
||||||
self.log.warning("mkvmerge had at least one warning, will continue anyway...")
|
self.log.warning("mkvmerge had at least one warning, will continue anyway...")
|
||||||
elif return_code >= 2:
|
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)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
# dont mux
|
# dont mux
|
||||||
|
|||||||
Reference in New Issue
Block a user