Skip to content

Commit

Permalink
catch exception from airbyte.delete_workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Chatterjee committed Aug 9, 2023
1 parent 872346d commit c370f17
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ddpui/utils/deleteorg.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ def delete_airbyte_workspace(org: Org): # skipcq: PYL-R0201
secretsmanager.delete_warehouse_credentials(warehouse)
warehouse.delete()

airbyte_service.delete_workspace(org.airbyte_workspace_id)
try:
airbyte_service.delete_workspace(org.airbyte_workspace_id)
except Exception:
pass


def delete_orgusers(org: Org): # skipcq: PYL-R0201
Expand Down

0 comments on commit c370f17

Please sign in to comment.