File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
services/web/server/src/simcore_service_webserver Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,5 @@ class AlreadyPreRegisteredError(UsersBaseError):
4848
4949
5050class BillingDetailsNotFoundError (UsersBaseError ):
51- def log_msg (self ):
52- return "Billing details are missing for user_id={user_id}. TIP: Check whether this user is pre-registered" .format (
53- ** self .__dict__
54- )
51+ # NOTE: this is for internal log and should not be transmitted to the final user
52+ msg_template = "Billing details are missing for user_id={user_id}. TIP: Check whether this user is pre-registered"
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ async def wrapper(request: web.Request) -> web.StreamResponse:
9696
9797 _logger .exception (
9898 "%s [%s]" ,
99- exc . log_msg () ,
99+ f" { exc } " ,
100100 f"{ error_code } " ,
101101 extra = {"error_code" : error_code , ** log_extra },
102102 )
You can’t perform that action at this time.
0 commit comments