Skip to content

Commit

Permalink
Updated list not found error message (#418)
Browse files Browse the repository at this point in the history
* Updated list not found error message

* Made error message slightly more generic.
  • Loading branch information
de-code authored May 15, 2024
1 parent 55fe7c5 commit b011b0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sciety_labs/app/app_error_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ async def list_not_found_error_exception_handler(
):
list_id = exception.list_id
error_message = (
'List not found. This could be because the data isn\'t yet available in Sciety Labs.'
'List not found.'
' This could be because it takes a little time for the magic to happen.'
' Try coming back later.'
)
return templates.TemplateResponse(
request=request,
Expand Down

0 comments on commit b011b0b

Please sign in to comment.