Skip to content

Commit 375f08c

Browse files
authored
Removed unnecessary catch in handler
1 parent 013aac1 commit 375f08c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

handler.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ def handler(event: JsonType, _: JsonType = {}) -> HandlerResponse:
6060
try:
6161
return handle_command(event, command)
6262

63-
except ParseError as e:
64-
error = ErrorResponse(message=e.message, detail=e.error_thrown)
65-
6663
except (ParseError, ValidationError) as e:
6764
error = ErrorResponse(message=e.message, detail=e.error_thrown)
6865

0 commit comments

Comments
 (0)