Skip to content

Commit

Permalink
DONE
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng committed Nov 21, 2024
1 parent 99545fd commit 49d60f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iwf/worker_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(
@staticmethod
def handle_worker_error(exception: Exception):
"""
handle the exception/error of worker.
Handle the exception/error of worker so that Temporal/Cadence WebUI can show the error nicely.
Example usage (in Flask):
@_flask_app.errorhandler(Exception)
def internal_error(exception):
Expand Down

0 comments on commit 49d60f2

Please sign in to comment.