SPE-2517: Added "Error running JavaScript" phrase to blocked wxLog warning (#12950)

Some users keep getting this warning and it has no real value to us.
This commit is contained in:
David Kocik 2024-12-04 09:31:30 +01:00 committed by Lukas Matena
parent 5a882fd6c4
commit dde66d5243

View File

@ -4204,7 +4204,8 @@ void GUI_App::open_link_in_printables(const std::string& url)
bool LogGui::ignorred_message(const wxString& msg)
{
for(const wxString& err : std::initializer_list<wxString>{ wxString("cHRM chunk does not match sRGB"),
wxString("known incorrect sRGB profile") }) {
wxString("known incorrect sRGB profile"),
wxString("Error running JavaScript")}) {
if (msg.Contains(err))
return true;
}