pruned new error messages
This commit is contained in:
parent
0f758b94e1
commit
1cea24c382
|
@ -918,7 +918,6 @@ namespace OpenLoco
|
|||
catch (const std::exception& e)
|
||||
{
|
||||
std::fprintf(stderr, "Unable to clean autosaves: %s\n", e.what());
|
||||
Ui::showMessageBox("Exception", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -954,7 +953,6 @@ namespace OpenLoco
|
|||
catch (const std::exception& e)
|
||||
{
|
||||
std::fprintf(stderr, "Unable to autosave game: %s\n", e.what());
|
||||
Ui::showMessageBox("Unable to Autosave:", e.what());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -666,7 +666,6 @@ namespace OpenLoco::S5
|
|||
std::fprintf(stderr, "Unable to load S5: %s\n", e.what());
|
||||
_loadErrorCode = 255;
|
||||
_loadErrorMessage = e.getLocalisedMessage();
|
||||
Ui::showMessageBox("Unable to Load S5:", e.what());
|
||||
return false;
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
|
@ -674,7 +673,6 @@ namespace OpenLoco::S5
|
|||
std::fprintf(stderr, "Exception: %s\n", e.what());
|
||||
_loadErrorCode = 255;
|
||||
_loadErrorMessage = StringIds::null;
|
||||
Ui::showMessageBox("Exception: ", e.what());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,7 +115,6 @@ namespace OpenLoco::Input
|
|||
{
|
||||
png_free(png_ptr, palette);
|
||||
png_destroy_write_struct(&png_ptr, nullptr);
|
||||
Ui::showMessageBox("Exception", e.what());
|
||||
throw;
|
||||
}
|
||||
|
||||
|
|
|
@ -797,7 +797,6 @@ namespace OpenLoco::Ui::Windows::PromptBrowse
|
|||
catch (const fs::filesystem_error& e)
|
||||
{
|
||||
Console::error("Invalid directory or file: %s", e.what());
|
||||
Ui::showMessageBox("Exception: ", e.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue