mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2026-01-08 21:48:22 +00:00
removed json config from error string (#5584)
* removed json config from error string * Format changes * Space formatting changes Co-authored-by: Onkar Ravgan <onkarravgan@Onkars-MacBook-Pro.local>
This commit is contained in:
parent
88ffca764f
commit
4d693e40ff
@ -201,13 +201,13 @@ class REST_API(AppBuilderBaseView):
|
||||
except ValidationError as err:
|
||||
return ApiResponse.error(
|
||||
status=ApiResponse.STATUS_BAD_REQUEST,
|
||||
error=f"Request Validation Error parsing payload {json_request}. (Workflow)Source expected - {err}",
|
||||
error=f"Request Validation Error parsing payload. (Workflow)Source expected - {err}",
|
||||
)
|
||||
|
||||
except Exception as err:
|
||||
return ApiResponse.error(
|
||||
status=ApiResponse.STATUS_SERVER_ERROR,
|
||||
error=f"Internal error testing connection {json_request} - {err} - {traceback.format_exc()}",
|
||||
error=f"Internal error testing connection {err} - {traceback.format_exc()}",
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user