mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 22:03:10 -06:00
Unbreak test
This commit is contained in:
parent
a4083e07cd
commit
c4c78e694f
|
|
@ -71,7 +71,7 @@ func failBlacklistableError(err error, stats *statistics.ServerStatistics) (unti
|
||||||
if !ok {
|
if !ok {
|
||||||
return stats.Failure()
|
return stats.Failure()
|
||||||
}
|
}
|
||||||
if mxerr.Code >= 500 || mxerr.Code < 600 {
|
if mxerr.Code >= 500 && mxerr.Code < 600 {
|
||||||
return stats.Failure()
|
return stats.Failure()
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue