Skip to content
Snippets Groups Projects
Verified Commit b62c2d76 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: tweak detail and code of error message

parent 27343ef4
No related branches found
No related tags found
No related merge requests found
...@@ -825,7 +825,9 @@ def make_virtual_timeslot_entry(*, gap_start: datetime, gap_end: datetime) -> Vi ...@@ -825,7 +825,9 @@ def make_virtual_timeslot_entry(*, gap_start: datetime, gap_end: datetime) -> Vi
"start": gap_start.strftime("%Y-%m-%dT%H:%M:%S%z"), "start": gap_start.strftime("%Y-%m-%dT%H:%M:%S%z"),
} }
else: else:
raise NotFound("Radio settings with fallbacks not found.") raise NotFound(
detail=_("Radio settings with fallbacks not found."), code="radio_settings-not_found"
)
def get_timerange_timeslot_entries( def get_timerange_timeslot_entries(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment