mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Log errors occuring when client keeps retrying connection to the server
This commit is contained in:
parent
4e60d19762
commit
82b95974f1
@ -12,7 +12,7 @@ use std::{
|
|||||||
thread,
|
thread,
|
||||||
time::Duration,
|
time::Duration,
|
||||||
};
|
};
|
||||||
use tracing::{debug, trace, warn};
|
use tracing::{trace, warn};
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
@ -107,7 +107,7 @@ impl ClientInit {
|
|||||||
));
|
));
|
||||||
break 'tries;
|
break 'tries;
|
||||||
} else {
|
} else {
|
||||||
debug!("Cannot connect to server: Timeout (retrying...)");
|
warn!(?e, "Failed to connect to the server. Retrying...");
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user