Commit 753a0f50 authored by Sebastien Robin's avatar Sebastien Robin

MouldAssembly: raise error after except information printing

It's important to reraise, otherwise errors are hidden and very
hard to find
parent d770b655
...@@ -278,4 +278,5 @@ class MouldAssembly(MachineManagedJob): ...@@ -278,4 +278,5 @@ class MouldAssembly(MachineManagedJob):
except: except:
# added for testing # added for testing
print 'the mould to be created', component.get('name', 'not found'), 'cannot be created', 'time', now() print 'the mould to be created', component.get('name', 'not found'), 'cannot be created', 'time', now()
raise
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment