diff --git a/src/api/catchers/mod.rs b/src/api/catchers/mod.rs index 22e8fe5..110756f 100644 --- a/src/api/catchers/mod.rs +++ b/src/api/catchers/mod.rs @@ -52,7 +52,7 @@ pub fn forbidden() -> status::Custom> { #[catch(500)] pub fn internal_server_error() -> status::Custom> { status::Custom( - Status::NotFound, + Status::InternalServerError, Json(json!({ "err":"internal server error", "msg": "Something went wrong, try again"