Improved error handling (part 1)
This commit is contained in:
@@ -127,7 +127,7 @@ impl SMTP {
|
||||
);
|
||||
match self.core.storage.data.write(batch.build()).await {
|
||||
Ok(_) => Some(event),
|
||||
Err(store::Error::AssertValueFailed) => {
|
||||
Err(err) if err.matches(trc::Cause::AssertValue) => {
|
||||
tracing::debug!(
|
||||
context = "queue",
|
||||
event = "locked",
|
||||
|
||||
Reference in New Issue
Block a user