Implement todo causing panic on concurrency and rate limits
This commit is contained in:
@@ -667,8 +667,8 @@ pub(crate) fn from_error_status(status: &Status<(), Error>) -> trc::Error {
|
|||||||
.details("DANE Error")
|
.details("DANE Error")
|
||||||
.ctx(trc::Key::Reason, err.details.clone()),
|
.ctx(trc::Key::Reason, err.details.clone()),
|
||||||
Error::MtaStsError(err) => event.details("MTA-STS Error").reason(err),
|
Error::MtaStsError(err) => event.details("MTA-STS Error").reason(err),
|
||||||
Error::RateLimited => todo!(),
|
Error::RateLimited => event.details("Rate Limited"),
|
||||||
Error::ConcurrencyLimited => todo!(),
|
Error::ConcurrencyLimited => event.details("Concurrency Limited"),
|
||||||
Error::Io(err) => event.details("I/O Error").reason(err),
|
Error::Io(err) => event.details("I/O Error").reason(err),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user