2 Commits
Author SHA1 Message Date
dietrich c18098cb8a clicks are deleted when connected links are
fixes #7
2021-04-01 09:59:07 +02:00
dietrich 2bad759547 Revert "format migration"
as migrations store a hash it is not possible to change the
migrationfiles afterwards.

This reverts commit fdcc89ec1f.
2021-04-01 09:59:07 +02:00
+1 -1
View File
@@ -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!("Database Error: {:?}", e))
HttpResponse::InternalServerError().json(format!("Diesel Error: {:?}", e))
}
Self::DatabaseMigration(_) => {
unimplemented!("A migration error should never be rendered")