mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-23 14:53:10 -06:00
Update error
This commit is contained in:
parent
a2342f12df
commit
994be80b7a
|
|
@ -244,8 +244,8 @@ func (u *latestEventsUpdater) latestState() error {
|
||||||
// This really shouldn't happen.
|
// This really shouldn't happen.
|
||||||
// TODO: What is ultimately the best way to handle this situation?
|
// TODO: What is ultimately the best way to handle this situation?
|
||||||
return fmt.Errorf(
|
return fmt.Errorf(
|
||||||
"invalid state delta wants to remove %d state but only add %d state",
|
"invalid state delta wants to remove %d state but only add %d state (between state snapshots %d and %d)",
|
||||||
len(u.removed), len(u.added),
|
len(u.removed), len(u.added), u.oldStateNID, u.newStateNID,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue