Skip to content

Commit 9e173b9

Browse files
committed
fix exception detail
1 parent 582fb9b commit 9e173b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

services/api-server/src/simcore_service_api_server/exceptions/service_errors_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ def service_exception_handler(
147147
RemoteMethodNotRegisteredError,
148148
}: # https://github.com/ITISFoundation/osparc-simcore/blob/master/packages/service-library/src/servicelib/rabbitmq/_client_rpc.py#L76
149149
raise HTTPException(
150-
status_code=status.HTTP_502_BAD_GATEWAY, detail="Request to failed"
150+
status_code=status.HTTP_502_BAD_GATEWAY,
151+
detail="Request to backend failed",
151152
) from exc
152153
if backend_error_type := rpc_exception_map.get(type(exc)):
153154
raise backend_error_type(**context) from exc

0 commit comments

Comments
 (0)