From 90818f201d529aff21d708622df11fbd93ee1359 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Sun, 12 Mar 2023 00:10:54 +0000 Subject: [PATCH] Include the mkvmerge return code on error --- devine/commands/dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devine/commands/dl.py b/devine/commands/dl.py index 5ffa3f5..bba5f16 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -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