From e6d90a57297194a00aedf307c338a408de8a2943 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Wed, 24 Nov 2021 12:35:43 -0800 Subject: [PATCH] Show more details on failure --- dangerzone/gui/main_window.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dangerzone/gui/main_window.py b/dangerzone/gui/main_window.py index 3cea9d0..5cb04d2 100644 --- a/dangerzone/gui/main_window.py +++ b/dangerzone/gui/main_window.py @@ -512,7 +512,9 @@ class ConvertThread(QtCore.QThread): except: print(f"Invalid JSON returned from container: {line}") self.error = True - self.update.emit(True, "Invalid JSON returned from container", 0) + self.update.emit( + True, f"Invalid JSON returned from container:\n\n{line}", 0 + ) return s = Style.BRIGHT + Fore.CYAN + f"{status['percentage']}% "