Fixing exception within NameError handler

This commit is contained in:
Carlos Lopez 2020-08-14 09:01:15 -06:00
parent 4f05d99cf0
commit 304ca77e3e
1 changed files with 1 additions and 1 deletions

View File

@ -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.