update error messages

This commit is contained in:
Julian 2023-02-02 20:26:48 -05:00
parent f8cd0c3449
commit db9f09a0b2
Signed by: NotNite
GPG key ID: BD91A5402CCEB08A

View file

@ -216,7 +216,7 @@ fn main() -> anyhow::Result<()> {
Ok(config) => config, Ok(config) => config,
Err(e) => { Err(e) => {
show_error( show_error(
"An error occured trying to fetch information required for GeezShade.", "An error occured trying to fetch information required for GeezShade. This may be because you are offline, the server is down, or the installer is critically out of date.\nTry downloading the latest version at https://notnite.com/geezshade or try again later.",
format!("{:?}", e), format!("{:?}", e),
); );
@ -253,7 +253,7 @@ fn main() -> anyhow::Result<()> {
} }
if let Err(e) = do_the_thing(xiv_install.to_path_buf(), config) { if let Err(e) = do_the_thing(xiv_install.to_path_buf(), config) {
show_error("An error occured.", format!("{:?}", e)); show_error("An error occured setting up ReShade.", format!("{:?}", e));
return Err(e); return Err(e);
} }