mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
@@ -54,7 +54,11 @@ impl Accounts {
|
|||||||
ensure!(dir.exists().await, "directory does not exist");
|
ensure!(dir.exists().await, "directory does not exist");
|
||||||
|
|
||||||
let config_file = dir.join(CONFIG_NAME);
|
let config_file = dir.join(CONFIG_NAME);
|
||||||
ensure!(config_file.exists().await, "accounts.toml does not exist");
|
ensure!(
|
||||||
|
config_file.exists().await,
|
||||||
|
"{:?} does not exist",
|
||||||
|
config_file
|
||||||
|
);
|
||||||
|
|
||||||
let config = Config::from_file(config_file)
|
let config = Config::from_file(config_file)
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user