No need to panic on first run
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
c84646671e
commit
912908a56d
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user