mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-10 11:23:41 +02:00
remove mail functionality for now
removing mail functionality
This commit is contained in:
@@ -25,7 +25,7 @@ pub enum ApiError {
|
||||
impl From<AppError> for ApiError {
|
||||
fn from(err: AppError) -> Self {
|
||||
match err {
|
||||
AppError::Database(_) | AppError::OpenAI(_) | AppError::Email(_) => {
|
||||
AppError::Database(_) | AppError::OpenAI(_) => {
|
||||
tracing::error!("Internal error: {:?}", err);
|
||||
ApiError::InternalError("Internal server error".to_string())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user