ALL_CAPS the locId in the error message for location_not_found error

This commit is contained in:
2026-03-17 20:27:34 +00:00
parent e47bebe7d4
commit 45dd5a1cf5

View File

@@ -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'
});
}