feat: print error log
This commit is contained in:
@@ -44,3 +44,9 @@ OPTIONS:
|
|||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
|
Cross build uses: https://github.com/messense/rust-musl-cross
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,9 @@ async fn main() -> tide::Result<()> {
|
|||||||
});
|
});
|
||||||
|
|
||||||
information!("Write email to account config: {:?}", account_email);
|
information!("Write email to account config: {:?}", account_email);
|
||||||
fs::write(account_email, email);
|
if let Err(e) = fs::write(&account_email, email) {
|
||||||
|
warning!("Write email to account config: {:?}, failed: {}", account_email, e);
|
||||||
|
}
|
||||||
|
|
||||||
email.to_string()
|
email.to_string()
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user