Commit b88d79cf authored by payno's avatar payno
Browse files

[PythonActor] if data is None, set to it to dict

parent a1257e52
......@@ -42,6 +42,8 @@ class WorkflowException(Exception):
def __init__(self, errorMessage="", traceBack="", data={}, msg=None):
super(WorkflowException, self).__init__(msg)
self.errorMessage = errorMessage
if data is None:
data = {} = data
self.traceBack = traceBack
Supports Markdown
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