mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 13:22:14 +00:00
chore(release): v1.4.27
v1.4.27 — Mobile capability and maintainer-finding cleanup. ResponsiveSheet primitive (bottom-sheet on narrow viewports, centred dialog on desktop) applied to BD, Weight, Glucose, Mood, Activity forms. Maintainer-finding cleanups across Coach, Insights, Reports, Privacy. GeoLite2 offline geocoding with resilience layer (graceful fallback when EULA not yet propagated). E2E gap-fill coverage. 450-line release notes attached to the GitHub Release.
This commit is contained in:
1 parent
d98e85cd03
commit
4f09c3f862
314 files changed
+26801
-4419
No files matched your search
+14
-1
@@ -78,7 +78,20 @@ function safeRequestProp<R>(
|
||||
try {
|
||||
return read(request as NextRequest);
|
||||
} catch (err) {
|
||||
if (isTolerableRequestProbeError(err)) return fallback;
|
||||
if (isTolerableRequestProbeError(err)) {
|
||||
// v1.4.27 B7 / BL-P1-3 — surface every fallback so a real read
|
||||
// regression cannot hide behind the tolerated-error narrowing.
|
||||
// Vitest direct-invoke and the force-static placeholder path are
|
||||
// the two known-quiet shapes; anything else worth a look should
|
||||
// show up in the dev console + the run log.
|
||||
if (process.env.NODE_ENV !== "test") {
|
||||
const msg = err instanceof Error ? err.message : String(err);
|
||||
console.warn(
|
||||
`[api-handler] safeRequestProp fallback — tolerable error: ${msg}`,
|
||||
);
|
||||
}
|
||||
return fallback;
|
||||
}
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user