From da908d815787cd0272c8bdeef40e1a4d2f6a29f8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 5 Apr 2021 00:51:29 +0200 Subject: Fix confusing error on trying to load a DoM project into the player (#1948). --- src/lib/dcp_content.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/dcp_content.cc') diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 318e3ce52..256112eb2 100644 --- a/src/lib/dcp_content.cc +++ b/src/lib/dcp_content.cc @@ -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 (); } } -- cgit v1.2.3