Skip to content

Commit 4705c81

Browse files
committed
cleanup
1 parent eacd769 commit 4705c81

File tree

1 file changed

+1
-1
lines changed
  • services/web/server/src/simcore_service_webserver/exception_handling

1 file changed

+1
-1
lines changed

services/web/server/src/simcore_service_webserver/exception_handling/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@ async def __aexit__(
109109
if (
110110
exc_value is not None
111111
and exc_type is not None
112-
and issubclass(exc_type, Exception)
113112
and isinstance(exc_value, Exception)
113+
and issubclass(exc_type, Exception)
114114
and (exc_handler := self._get_exc_handler_or_none(exc_type, exc_value))
115115
):
116116
self._response = await exc_handler(

0 commit comments

Comments
 (0)