There was an error while loading. Please reload this page.
1 parent b34b8f4 commit cb39d11Copy full SHA for cb39d11
1 file changed
run/simulation.py
@@ -50,6 +50,9 @@ def wait_and_log(self, organization_id, workspace_id, runner_id, run_id):
50
def delete_organization(self, name):
51
"""Delete an organization."""
52
organization_id = self.get_organization_id_by_name(name)
53
+ if not organization_id:
54
+ logger.info(f"Organization '{name}' does not exist. No deletion needed.")
55
+ return
56
# unregister organization
57
try:
58
self.organization_api.delete_organization(organization_id=organization_id)
0 commit comments