You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#4917
### Motivation
dashboard peek message api raise exception when format response cause treat all message as a JSON string
### Modifications
* format as JSON only if message is a JSON,
* otherwise if message is printable, return the original message,
* otherwise print hex like command with --hex option.
Describe the bug
dashboard peek message api parse response raise exception cause treat all message as a json string
To Reproduce
produce a literal string like
something
to a topic and peek it on dashboard, which would raise aValueError: substring not found
.Expected behavior
RIGHT response
The text was updated successfully, but these errors were encountered: