Skip to content

Commit 654714f

Browse files
fix: remove unused import
1 parent 846e1fd commit 654714f

File tree

1 file changed

+1
-2
lines changed
  • services/api-server/src/simcore_service_api_server/exceptions/handlers

1 file changed

+1
-2
lines changed

services/api-server/src/simcore_service_api_server/exceptions/handlers/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from os import error
2-
31
from celery.exceptions import ( # type: ignore[import-untyped] #pylint: disable=no-name-in-module
42
CeleryError,
53
)
@@ -50,6 +48,7 @@ def setup(app: FastAPI, *, is_debug: bool = False):
5048
TaskNotFoundError,
5149
status.HTTP_404_NOT_FOUND,
5250
error_message="The requested task was not found",
51+
add_exception_to_message=True,
5352
),
5453
)
5554

0 commit comments

Comments
 (0)