From 0ed010b78f9704b5aa3da379e14b9060cfdc4026 Mon Sep 17 00:00:00 2001 From: Dietrich Date: Thu, 1 Apr 2021 10:02:12 +0200 Subject: [PATCH] fix errormessage --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index b07076e..c5faa48 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,7 +64,7 @@ impl actix_web::error::ResponseError for ServerError { match self { Self::Argonautic => HttpResponse::InternalServerError().json("Argonautica Error"), Self::Database(e) => { - HttpResponse::InternalServerError().json(format!("Diesel Error: {:?}", e)) + HttpResponse::InternalServerError().json(format!("Database Error: {:?}", e)) } Self::DatabaseMigration(_) => { unimplemented!("A migration error should never be rendered")