Skip to content

v0.14.3 — readable dashboard fetch errors

Choose a tag to compare

@mabry1985 mabry1985 released this 02 Jul 19:17
dbb39ad

Fixed

  • Dashboard fetches surface readable errors instead of raw JSON-parse failures. Any transient non-JSON response (a fleet-proxy hiccup, a restarting member, an HTML error page) hit the 5-second poll as WebKit's SyntaxError: The string did not match the expected pattern. A JSON error body now surfaces its detail/error message, a non-JSON body its HTTP status — and the message self-clears on the next successful poll. The spinup drawer's second bare r.json() reuses the same helper. (#20)