Skip to content

Commit

Permalink
Additional try/except
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Nov 27, 2024
1 parent f2b94b9 commit c836f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redturtle/prenotazioni/browser/bookings_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def __call__(self):
self.booking_creation_to = datetime.datetime.fromisoformat(
booking_creation_to
)
except:
except ValueError:
raise BadRequest(
api.portal_translate(
_("Badly composed `booking_creation_to` value")
Expand Down

0 comments on commit c836f44

Please sign in to comment.