Skip to content

Commit

Permalink
Fix: Undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
EWouters committed Sep 23, 2024
1 parent aac3d50 commit 0096f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/chainlit/step.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def sync_wrapper(*args, **kwargs):
try:
if result and not step.output:
step.output = result
except:
except Exception as e:
step.is_error = True
step.output = str(e)
return result
Expand Down

0 comments on commit 0096f73

Please sign in to comment.