mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add more context to unknown delta log (#31943)
This commit is contained in:
parent
91dde5c980
commit
9454a4e125
@ -310,7 +310,7 @@ func (f *JSONFormatter) processItem(value interface{}, deltas []diff.Delta, posi
|
||||
f.printRecursive(positionStr, matchedDelta.Value, ChangeDeleted)
|
||||
|
||||
default:
|
||||
return errors.New("unknown Delta type detected")
|
||||
return fmt.Errorf("unknown Delta type detected %#v", matchedDelta)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user