feat(SW-251): update logging texts
This commit is contained in:
@@ -145,7 +145,7 @@ const hotelContentSchema = z.object({
|
|||||||
restaurantsOverviewPageLinkText: z.string(),
|
restaurantsOverviewPageLinkText: z.string(),
|
||||||
restaurantsOverviewPageLink: z.string(),
|
restaurantsOverviewPageLink: z.string(),
|
||||||
restaurantsContentDescriptionShort: z.string(),
|
restaurantsContentDescriptionShort: z.string(),
|
||||||
restaurantsContentDescriptionMedium: z.string().optional(),
|
restaurantsContentDescriptionMedium: z.string(),
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -438,7 +438,7 @@ export const hotelQueryRouter = router({
|
|||||||
include,
|
include,
|
||||||
})
|
})
|
||||||
console.info(
|
console.info(
|
||||||
"api.hotels.hotel start",
|
"api.hotels.hotelData start",
|
||||||
JSON.stringify({ query: { hotelId, params } })
|
JSON.stringify({ query: { hotelId, params } })
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -466,7 +466,7 @@ export const hotelQueryRouter = router({
|
|||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
console.error(
|
console.error(
|
||||||
"api.hotels.hotel error",
|
"api.hotels.hotelData error",
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
query: { hotelId, params },
|
query: { hotelId, params },
|
||||||
error: {
|
error: {
|
||||||
@@ -492,7 +492,7 @@ export const hotelQueryRouter = router({
|
|||||||
})
|
})
|
||||||
|
|
||||||
console.error(
|
console.error(
|
||||||
"api.hotels.hotel validation error",
|
"api.hotels.hotelData validation error",
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
query: { hotelId, params },
|
query: { hotelId, params },
|
||||||
error: validateHotelData.error,
|
error: validateHotelData.error,
|
||||||
@@ -507,7 +507,7 @@ export const hotelQueryRouter = router({
|
|||||||
include,
|
include,
|
||||||
})
|
})
|
||||||
console.info(
|
console.info(
|
||||||
"api.hotels.hotel success",
|
"api.hotels.hotelData success",
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
query: { hotelId, params: params },
|
query: { hotelId, params: params },
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user