mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 19:18:05 +00:00
fixes: Mode test connection returns data in dict instead of json (#18386)
This commit is contained in:
parent
010761ed5c
commit
fca9bb0a4f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user