-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add error source #1954
Add error source #1954
Conversation
@@ -16,7 +16,6 @@ import ( | |||
) | |||
|
|||
var ( | |||
ErrFunctionsNotSupported = errors.New("zabbix queries with functions are not supported") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this because it is not used.
@@ -14,6 +15,7 @@ func convertTo(value *simplejson.Json, result interface{}) error { | |||
|
|||
err = json.Unmarshal(valueJSON, result) | |||
if err != nil { | |||
backend.Logger.Debug("Error unmarshalling JSON", "error", err, "result", result) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have some errors related to JSON unmarshalling. It would be nice to figure out which type fails here so we could fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great job 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes #1879