Skip to content

Commit 34f09ab

Browse files
authored
SG-32814 Improve Experience for MoBU (#104)
1 parent cd30be8 commit 34f09ab

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

app_specific/motionbuilder/startup/init_tank.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,15 @@ def bootstrap_tank():
4848
try:
4949
engine = tank.platform.start_engine(engine_name, context.tank, context)
5050
except Exception as e:
51-
FBMessageBox(
52-
"Flow Production Tracking: Error", "Could not start engine: %s" % e, "Ok"
53-
)
51+
if not isinstance(e, tank.TankError) or not hasattr(
52+
e, "_tank_error_raised_already"
53+
):
54+
FBMessageBox(
55+
"Flow Production Tracking: Error",
56+
"Could not start engine: %s" % e,
57+
"Ok",
58+
)
59+
5460
return
5561

5662
# if a file was specified, load it now

0 commit comments

Comments
 (0)