Fix confusing error on trying to load a DoM project into the player (#1948).
[dcpomatic.git] / src / lib / dcp_content.cc
index 318e3ce5288aafad628b952f40a0b23112b0c0a7..256112eb27caaa8a6ba1ac0a5ef6d7fb90629c4c 100644 (file)
@@ -186,10 +186,7 @@ DCPContent::read_directory (boost::filesystem::path p)
                if (!have_metadata) {
                        throw DCPError ("No ASSETMAP or ASSETMAP.xml file found: is this a DCP?");
                } else {
-                       throw DCPError (
-                               "This looks like a DCP-o-matic project folder, which cannot be added to a different project.  "
-                               "Choose the DCP directory inside the DCP-o-matic project folder if that's what you want to import."
-                               );
+                       throw ProjectFolderError ();
                }
        }