Removed bad format macro use

This commit is contained in:
mojavemf 2023-11-04 11:20:36 +00:00
parent 071f432ae1
commit 52cf2f4fff
1 changed files with 6 additions and 6 deletions

View File

@ -55,11 +55,6 @@ async fn main() {
std::process::Command::new("clear").spawn().unwrap();
}
tracing_subscriber::fmt()
.with_max_level(MAX_TRACING_LEVEL)
.pretty()
.init();
let args: Vec<String> = std::env::args().collect();
let base_url: &str = "www.syntax.eco";
let mut setup_url: &str = "setup.syntax.eco";
@ -117,6 +112,11 @@ async fn main() {
);
}
tracing_subscriber::fmt()
.with_max_level(MAX_TRACING_LEVEL)
.pretty()
.init();
let http_client: Client = reqwest::Client::builder().no_gzip().build().unwrap();
debug!(
"Setup Server: {} | Base Server: {}",
@ -229,7 +229,7 @@ async fn main() {
match command.spawn() {
Ok(_) => {}
Err(e) => {
debug!(&format!("Bootstrapper errored with error {}", e));
debug!("Bootstrapper errored with error {}", e);
info("Found bootstrapper was corrupted! Downloading...");
std::fs::remove_file(latest_bootstrapper_path.clone()).unwrap();
download_file(