diff options
author | DLFW <daniel@llin.info> | 2022-12-28 18:05:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-28 12:05:43 -0500 |
commit | 7920a75446466552dc42bc6afc60413a372abaf2 (patch) | |
tree | 28c9500fe960d42e82a0f38e1236f5c219b3d664 /src/config | |
parent | f4b150b9e17a74f23a5472690759af59b4c18b8d (diff) |
More meaningful message on missing config file (#243)
Co-authored-by: DLF <texnh@llin.info>
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index 48f7ef0..6febdd0 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -55,7 +55,7 @@ where let error_kind = io::ErrorKind::NotFound; let error = JoshutoError::new( JoshutoErrorKind::Io(error_kind), - "No config directory found".to_string(), + format!("Configuration file {} not found", filename), ); Err(error) } |