Skip to content

Commit 733224d

Browse files
committed
[WARP] Demote server disconnect failure to warning
Its not critical, but I still want it to be visible when it fails
1 parent 0de9b18 commit 733224d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/warp/src/plugin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn load_bundled_signatures() {
4949
log::debug!("{:#?}", user_disk_container);
5050
add_cached_container(user_disk_container);
5151
}
52-
log::info!("Loading bundled files took {:?}", start.elapsed());
52+
log::info!("Loading files took {:?}", start.elapsed());
5353
background_task.finish();
5454
}
5555

@@ -60,7 +60,7 @@ fn load_network_container() {
6060
let network_client = NetworkClient::new(url.clone(), api_key.clone());
6161
// Before constructing the container, let's make sure that the server is OK.
6262
if let Err(e) = network_client.status() {
63-
log::error!("Server '{}' failed to connect: {}", url, e);
63+
log::warn!("Server '{}' failed to connect: {}", url, e);
6464
return;
6565
}
6666

0 commit comments

Comments
 (0)