diff --git a/ingestion/src/metadata/ingestion/source/dashboard/mode/client.py b/ingestion/src/metadata/ingestion/source/dashboard/mode/client.py index 7f263af356c..b0887e4a910 100644 --- a/ingestion/src/metadata/ingestion/source/dashboard/mode/client.py +++ b/ingestion/src/metadata/ingestion/source/dashboard/mode/client.py @@ -197,9 +197,8 @@ class ModeApiClient: """ try: response = self.client.get(f"/{workspace_name}") - return response.json() + return response except Exception as exc: # pylint: disable=broad-except logger.debug(traceback.format_exc()) logger.warning(f"Error testing workspace connection: {exc}") - - return None + raise exc