ALL_CAPS the locId in the error message for location_not_found error
This commit is contained in:
@@ -25,7 +25,7 @@ export const load: PageLoad = async ({ url }) => {
|
||||
title = location.n || location.t;
|
||||
} else {
|
||||
error(404, {
|
||||
message: `Location (${locId}) not found`,
|
||||
message: `Location (${locId.toUpperCase()}) not found`,
|
||||
owlCode: 'INVALID_LOCATION_CODE'
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user