Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Nov 1, 2024
1 parent fcc0bc3 commit f136344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from fastapi import FastAPI, HTTPException, status
from fastapi.exceptions import RequestValidationError

from ..errors import RutNotFoundError
from ._http_error import (
RutNotFoundError,
http404_error_handler,
http_error_handler,
make_http_error_handler_for_exception,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async def wrapper(request: web.Request) -> web.StreamResponse:
return await handler(request)

except RPCServerError as exc:
raise RPCServerError from exc
raise RPCServerError from exc # <- Will be improved

return wrapper

Expand Down

0 comments on commit f136344

Please sign in to comment.