eisen-ai / eisen-core

Core functionality of Eisen
MIT License
41 stars 10 forks source link

prevent exceptions from being overwritten silently #12

Closed dasturge closed 4 years ago

dasturge commented 4 years ago

Eisen Workflows are masking/overwriting tracebacks which occur in the workflow code if the exit function also raises an error. There is probably a way to do a more targeted check for Exceptions if there's ever a reason to be intentionally passing Exceptions to the exit function, but this fixes the traceback issue for now.