Skip to content

Tempo: improve error message if server returns invalid JSON#93

Merged
Nexucis merged 1 commit intoperses:mainfrom
andreasgerstmayr:tempo-err-msg
Mar 19, 2025
Merged

Tempo: improve error message if server returns invalid JSON#93
Nexucis merged 1 commit intoperses:mainfrom
andreasgerstmayr:tempo-err-msg

Conversation

@andreasgerstmayr
Copy link
Contributor

Instead of a technical error, let's show "Invalid response from server" if the server sends invalid JSON. The actual error message is logged to the JS console.

Screenshots

Before:
Bildschirmfoto vom 2025-03-19 18-16-46

After:
Bildschirmfoto vom 2025-03-19 18-16-58

Signed-off-by: Andreas Gerstmayr <agerstmayr@redhat.com>
@Nexucis Nexucis merged commit de6dbab into perses:main Mar 19, 2025
9 checks passed
coleenquadros pushed a commit to coleenquadros/plugins that referenced this pull request Jul 9, 2025
….com/prometheus/prometheus-0.304.0

build(deps): bump github.com/prometheus/prometheus from 0.303.1 to 0.304.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants