X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_verifier.cc;fp=src%2Ftools%2Fdcpomatic_verifier.cc;h=834ebefa1a11ba7d56339f944f29437743792e61;hb=74e944d9ba137386efff089f9906e64d255836c9;hp=273403a4e76d6ab23da3880d58ee77c247a9808e;hpb=17ef19940f152ceeb2e1ad696dd5e7ac5917d8cd;p=dcpomatic.git diff --git a/src/tools/dcpomatic_verifier.cc b/src/tools/dcpomatic_verifier.cc index 273403a4e..834ebefa1 100644 --- a/src/tools/dcpomatic_verifier.cc +++ b/src/tools/dcpomatic_verifier.cc @@ -201,31 +201,34 @@ private: error_dialog( nullptr, wxString::Format( - _("An exception occurred: %s (%s)\n\n") + REPORT_PROBLEM, + _("An exception occurred: %s (%s)\n\n%s"), std_to_wx(e.what()), - std_to_wx(e.file().string().c_str()) + std_to_wx(e.file().string().c_str()), + wx::report_problem() ) ); } catch (boost::filesystem::filesystem_error& e) { error_dialog( nullptr, wxString::Format( - _("An exception occurred: %s (%s) (%s)\n\n") + REPORT_PROBLEM, + _("An exception occurred: %s (%s) (%s)\n\n%s"), std_to_wx(e.what()), std_to_wx(e.path1().string()), - std_to_wx(e.path2().string()) + std_to_wx(e.path2().string()), + wx::report_problem() ) ); } catch (exception& e) { error_dialog( nullptr, wxString::Format( - _("An exception occurred: %s.\n\n") + REPORT_PROBLEM, - std_to_wx(e.what()) + _("An exception occurred: %s.\n\n%s"), + std_to_wx(e.what()), + wx::report_problem() ) ); } catch (...) { - error_dialog(nullptr, _("An unknown exception occurred.") + " " + REPORT_PROBLEM); + error_dialog(nullptr, _("An unknown exception occurred.") + " " + wx::report_problem()); } }