diff options
Diffstat (limited to 'src/conversation/handlers/send/mod.rs')
| -rw-r--r-- | src/conversation/handlers/send/mod.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/conversation/handlers/send/mod.rs b/src/conversation/handlers/send/mod.rs index ff63652..979dd24 100644 --- a/src/conversation/handlers/send/mod.rs +++ b/src/conversation/handlers/send/mod.rs @@ -58,10 +58,9 @@ impl IntoResponse for Error { SendError::ConversationNotFound(_) | SendError::ConversationDeleted(_) => { NotFound(error).into_response() } - SendError::SenderNotFound(_) - | SendError::SenderDeleted(_) - | SendError::Name(_) - | SendError::Database(_) => Internal::from(error).into_response(), + SendError::SenderNotFound(_) | SendError::SenderDeleted(_) | SendError::Failed(_) => { + Internal::from(error).into_response() + } } } } |
