Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Include all exceptions in error handling. (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
dichenqiandbt authored Feb 23, 2023
1 parent bd84ae0 commit 1945b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbt_server/services/dbt_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def execute_async_command(
_, _ = dbt.invoke(new_command)
# Return to app root
os.chdir(last_dir)
except RuntimeException as e:
except Exception as e:
update_task_status(db, db_task, callback_url, models.TaskState.ERROR, str(e))
raise e

Expand Down

0 comments on commit 1945b6f

Please sign in to comment.