Skip to content

Commit

Permalink
[FIX] error handler
Browse files Browse the repository at this point in the history
  • Loading branch information
romnnn committed Mar 27, 2020
1 parent b9702bf commit bce48b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kerasltiprovider/interceptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ def catch_exceptions(*args: typing.Any, **kwargs: typing.Any) -> typing.Any:
try:
return func(*args, **kwargs)
except Exception as e:
raise e
return handler(dict(exception=e))

return catch_exceptions
Expand Down

0 comments on commit bce48b6

Please sign in to comment.