fix: Improve error message when current dir is not found (#773)
This commit is contained in:
parent
b0a8003a59
commit
539f320a3f
|
@ -43,7 +43,7 @@ impl<'a> Context<'a> {
|
|||
.unwrap_or_else(|| {
|
||||
env::var("PWD").map(PathBuf::from).unwrap_or_else(|err| {
|
||||
log::debug!("Unable to get path from $PWD: {}", err);
|
||||
env::current_dir().expect("Unable to identify current directory.")
|
||||
env::current_dir().expect("Unable to identify current directory. Error")
|
||||
})
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue