Show more details on failure

This commit is contained in:
Micah Lee 2021-11-24 12:35:43 -08:00
parent 6a24b7b364
commit e6d90a5729
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -512,7 +512,9 @@ class ConvertThread(QtCore.QThread):
except: except:
print(f"Invalid JSON returned from container: {line}") print(f"Invalid JSON returned from container: {line}")
self.error = True 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 return
s = Style.BRIGHT + Fore.CYAN + f"{status['percentage']}% " s = Style.BRIGHT + Fore.CYAN + f"{status['percentage']}% "