feat(SW-251): update logging texts

This commit is contained in:
Fredrik Thorsson
2024-09-11 16:41:29 +02:00
parent d338fee8a9
commit 21ff8f8b5d
2 changed files with 5 additions and 5 deletions

View File

@@ -145,7 +145,7 @@ const hotelContentSchema = z.object({
restaurantsOverviewPageLinkText: z.string(),
restaurantsOverviewPageLink: z.string(),
restaurantsContentDescriptionShort: z.string(),
restaurantsContentDescriptionMedium: z.string().optional(),
restaurantsContentDescriptionMedium: z.string(),
}),
})

View File

@@ -438,7 +438,7 @@ export const hotelQueryRouter = router({
include,
})
console.info(
"api.hotels.hotel start",
"api.hotels.hotelData start",
JSON.stringify({ query: { hotelId, params } })
)
@@ -466,7 +466,7 @@ export const hotelQueryRouter = router({
}),
})
console.error(
"api.hotels.hotel error",
"api.hotels.hotelData error",
JSON.stringify({
query: { hotelId, params },
error: {
@@ -492,7 +492,7 @@ export const hotelQueryRouter = router({
})
console.error(
"api.hotels.hotel validation error",
"api.hotels.hotelData validation error",
JSON.stringify({
query: { hotelId, params },
error: validateHotelData.error,
@@ -507,7 +507,7 @@ export const hotelQueryRouter = router({
include,
})
console.info(
"api.hotels.hotel success",
"api.hotels.hotelData success",
JSON.stringify({
query: { hotelId, params: params },
})