···174174 const country = ReverseGeocodingSchema.safeParse(geocode.value)
175175176176 if (!country.success) {
177177- console.error(country.error)
177177+ console.error("ReverseGeocodingSchema validation failed:", country.error)
178178 return c.text("Invalid country data", 400)
179179 }
180180
+1-1
src/util.ts
···97979898 // Fetch the data from the URL
9999 const data = await tryCatch(
100100- fetch(url).then((res) => res.json() as T),
100100+ fetch(url).then((res) => res.json()),
101101 )
102102103103 if (!data.success) {