mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 05:02:35 +08:00
add more context to unknown delta log (#31943)
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user