No need to panic on first run

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-10-27 12:02:09 +02:00
parent c84646671e
commit 912908a56d
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -34,7 +34,7 @@ pub fn setup_config_data_storage() {
endpoint: "YOUR ENDPOINT HERE".to_string() endpoint: "YOUR ENDPOINT HERE".to_string()
}; };
save_config(&conf); save_config(&conf);
panic!("Warning, new configuration file created, consider editing '{}' before running", c.to_str().unwrap()); eprintln!("Warning, new configuration file created, consider editing '{}' before running this program again.", c.to_str().unwrap());
} }
} }