Skip to content

Commit 38b04ee

Browse files
committed
error code
1 parent 2804b53 commit 38b04ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-library/src/servicelib/aiohttp/rest_middlewares.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def _process_and_raise_unexpected_error(request: web.BaseRequest, err: Exception
6262
if isinstance(err, OsparcErrorMixin):
6363
error_context.update(err.error_context())
6464

65-
frontend_msg = _FMSG_INTERNAL_ERROR_USER_FRIENDLY.format(error_code)
65+
frontend_msg = _FMSG_INTERNAL_ERROR_USER_FRIENDLY.format(error_code=error_code)
6666
log_msg = create_troubleshotting_log_message(
6767
message_to_user=frontend_msg,
6868
error=err,

0 commit comments

Comments
 (0)