Add some fixes and debug stuff

This commit is contained in:
Tobias Reisinger 2024-04-24 01:29:07 +02:00
parent 45e128361a
commit 3b00001859
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 27 additions and 3 deletions
emgauwa-lib/src/errors

View file

@ -58,7 +58,7 @@ impl From<&DatabaseError> for String {
}
DatabaseError::MigrationError(_) => "error on running migrations",
DatabaseError::Unknown(_) => "unknown error",
DatabaseError::EmptyDataInsert => "empty data was attempted to be inserted",
DatabaseError::EmptyDataInsert => "tried to insert empty data",
})
}
}