4 Commits
Author SHA1 Message Date
dietrich 0ed010b78f fix errormessage 2021-04-01 10:02:12 +02:00
dietrich a6598ba5db clicks are deleted when connected links are
fixes #7
2021-04-01 10:00:16 +02:00
dietrich 2fba9080d6 Revert "format migration"
as migrations store a hash it is not possible to change the
migrationfiles afterwards.

This reverts commit fdcc89ec1f.
2021-04-01 10:00:16 +02:00
dietrich 053992e30c Merge pull request #6 from enaut/WIP--translations
Make the page translatable
2021-03-31 16:50:13 +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!("Diesel Error: {:?}", e))
HttpResponse::InternalServerError().json(format!("Database Error: {:?}", e))
}
Self::DatabaseMigration(_) => {
unimplemented!("A migration error should never be rendered")