Try to clean up the mess of exporting subtitles when there is
[dcpomatic.git] / src / tools / dcpomatic_player.cc
index 17f6526257c2a01e6e4d03b5c824d969e2ddb367..11f4bfaa7a4fd9107aff49a383047962273972ba 100644 (file)
@@ -423,6 +423,8 @@ public:
 #endif
                } catch (dcp::ReadError& e) {
                        error_dialog (this, wxString::Format(_("Could not load a DCP from %s"), std_to_wx(dir.string())), std_to_wx(e.what()));
+               } catch (DCPError& e) {
+                       error_dialog (this, wxString::Format(_("Could not load a DCP from %s"), std_to_wx(dir.string())), std_to_wx(e.what()));
                }
        }