Commit d5f7c1cf authored by Jérome Perrin's avatar Jérome Perrin

CMFActivity pdb on error hack

parent 99464304
......@@ -329,7 +329,9 @@ class Message(BaseMessage):
activity_tool.unrestrictedTraverse(self.active_process),
result, obj)
self.setExecutionState(MESSAGE_EXECUTED)
except:
except Exception, e:
import ipdb; ipdb.post_mortem(sys.exc_info()[2])
raise
self.setExecutionState(MESSAGE_NOT_EXECUTED, context=activity_tool)
def validate(self, activity, activity_tool, check_order_validation=1):
......
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