mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-25 03:20:32 +00:00
Use eprintln! instead of println! for console message
This commit is contained in:
parent
becb40544c
commit
c1abd3d6f9
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ fn init_pool() -> Option<DbPool> {
|
|||
|
||||
fn main() {
|
||||
match dotenv::dotenv() {
|
||||
Ok(path) => println!("Configuration read from {}", path.display()),
|
||||
Ok(path) => eprintln!("Configuration read from {}", path.display()),
|
||||
Err(ref e) if e.not_found() => eprintln!("no .env was found"),
|
||||
e => e.map(|_| ()).unwrap(),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue