Separate readable error from technical detail in some places.
[dcpomatic.git] / src / wx / download_certificate_panel.cc
index 6c01b0d3f257da5ce529aaa8a0a0377c54116814..4052e44a6e8245ff7d1bde1f146eeef9e09f5d1d 100644 (file)
@@ -53,7 +53,7 @@ DownloadCertificatePanel::load (boost::filesystem::path file)
        try {
                _certificate = dcp::Certificate (dcp::file_to_string (file));
        } catch (dcp::MiscError& e) {
-               error_dialog (this, wxString::Format (_("Could not read certificate file (%s)"), std_to_wx(e.what()).data()));
+               error_dialog (this, _("Could not read certificate file."), std_to_wx(e.what()));
        }
 }