fix: fixed a crash when the local directory specified in the auth form does not exist

fix #319
This commit is contained in:
veeso
2025-03-15 16:46:57 +01:00
parent dd35fe825c
commit cdf303a847
6 changed files with 46 additions and 24 deletions

View File

@@ -108,6 +108,10 @@ impl Context {
pub fn error(&mut self) -> Option<String> {
self.error.take()
}
pub fn set_error(&mut self, error: String) {
self.error = Some(error);
}
}
impl Drop for Context {