use default database name if none is set in the config

This commit is contained in:
Robin Appelman 2021-08-11 13:44:39 +02:00
commit 0b6614c6e0
3 changed files with 27 additions and 7 deletions

View file

@ -115,8 +115,8 @@ pub enum DbError {
NoUsername,
#[error("no password set")]
NoPassword,
#[error("no database name")]
NoName,
#[error("no data directory")]
NoDataDirectory,
}
#[derive(Debug, Error)]