Fixing exception within NameError handler
This commit is contained in:
parent
4f05d99cf0
commit
304ca77e3e
|
@ -55,7 +55,7 @@ class CustomBpmnScriptEngine(BpmnScriptEngine):
|
|||
except NameError as e:
|
||||
raise ApiError('name_error',
|
||||
f'something you are referencing does not exist:'
|
||||
f' {script}, {e.name}')
|
||||
f' {script}, {e}')
|
||||
|
||||
# else:
|
||||
# self.run_predefined_script(task, script[2:], data) # strip off the first two characters.
|
||||
|
|
Loading…
Reference in New Issue