Compare commits
4 Commits
c18098cb8a
...
0ed010b78f
Author | SHA1 | Date | |
---|---|---|---|
0ed010b78f | |||
a6598ba5db | |||
2fba9080d6 | |||
053992e30c |
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user