Skip to content

Commit d61620e

Browse files
add broader exception
1 parent f700909 commit d61620e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def fetch_service_compartment() -> Union[str, None]:
582582
file_path=config_file_name,
583583
config_file_name=CONTAINER_INDEX,
584584
)
585-
except AquaFileNotFoundError:
585+
except Exception:
586586
logger.error(
587587
f"Config file {config_file_name}/{CONTAINER_INDEX} to fetch service compartment OCID could not be found."
588588
)

0 commit comments

Comments
 (0)