Skip to content

Commit 2f5d5d3

Browse files
committed
change exception logging
1 parent 8dbb91e commit 2f5d5d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

expense/workflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async def run(self, expense_id: str) -> str:
2424
start_to_close_timeout=timedelta(seconds=10),
2525
)
2626
except Exception as err:
27-
logger.error(f"Failed to create expense report: {err}")
27+
logger.exception(f"Failed to create expense report: {err}")
2828
raise
2929

3030
# Step 2: Wait for the expense report to be approved or rejected

0 commit comments

Comments
 (0)