mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 04:19:26 +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)
|
f.printRecursive(positionStr, matchedDelta.Value, ChangeDeleted)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return errors.New("unknown Delta type detected")
|
return fmt.Errorf("unknown Delta type detected %#v", matchedDelta)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user