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.
This commit is contained in:
parent
a7510f4042
commit
0b176eda96
@ -321,7 +321,7 @@ class FLAMENCO_OT_submit_job(FlamencoOpMixin, bpy.types.Operator):
|
|||||||
|
|
||||||
if isinstance(msg, bat_interface.MsgException):
|
if isinstance(msg, bat_interface.MsgException):
|
||||||
self.log.error("Error performing BAT pack: %s", msg.ex)
|
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
|
# This was an exception caught at the top level of the thread, so
|
||||||
# the packing thread itself has stopped.
|
# the packing thread itself has stopped.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user