From 0b176eda96d6b620168fd1124e6e4123d5afa15f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Wed, 31 Aug 2022 08:09:11 +0200 Subject: [PATCH] Add-on: include error cause in "Error performing BAT pack" message The error can get cryptic, but without opening the terminal people otherwise would have no idea what's going on. --- addon/flamenco/operators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/flamenco/operators.py b/addon/flamenco/operators.py index 6b47ca90..830a37ba 100644 --- a/addon/flamenco/operators.py +++ b/addon/flamenco/operators.py @@ -321,7 +321,7 @@ class FLAMENCO_OT_submit_job(FlamencoOpMixin, bpy.types.Operator): if isinstance(msg, bat_interface.MsgException): self.log.error("Error performing BAT pack: %s", msg.ex) - self.report({"ERROR"}, "Error performing BAT pack") + self.report({"ERROR"}, "Error performing BAT pack: %s" % msg.ex) # This was an exception caught at the top level of the thread, so # the packing thread itself has stopped.