We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f5070a commit 6697d93Copy full SHA for 6697d93
stateresolutionv2.go
@@ -74,7 +74,10 @@ func ResolveStateConflictsV2(
74
}
75
76
if createEvent == nil {
77
- panic("ResolveStateConflictsV2: cannot find create event in auth chain")
+ // FIXME TODO: We previously panicked here but this meant Dendrite would crash on startup.
78
+ // We really need to get our error handling sorted properly when doing state resolution..
79
+ // See https://github.com/element-hq/dendrite/issues/3629
80
+ return nil // we should return an error here :/
81
82
// Prepare the state resolver.
83
conflictedControlEvents := make([]PDU, 0, len(conflicted))
0 commit comments