-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render guidance if we fail to fetch offences
Previously, if we received a 404 when fetching the offences for a PoP we'd render the generic error page. As we've identified this scenario to be caused by a missing NOMS number for the CRN, we want to show guidance to the user in how to correct it. This commit conditionally renders the missing NOMS guidance page if we receive a 404 when fetching offences.
- Loading branch information
Showing
2 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters