diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-27 16:25:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-27 16:25:16 +0100 |
| commit | 661e3462571a4b40600e79e56a8ea6b4ade0c74a (patch) | |
| tree | 73c5b78461af860eea64f9e5135249a62fd93007 | |
| parent | 24728b74693bb84d79474e014cdb952abc8a79f2 (diff) | |
Add some more logging.2924-no-assetmap
| -rw-r--r-- | src/tools/dcpomatic_disk.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc index b47addce9..2bd3c1f72 100644 --- a/src/tools/dcpomatic_disk.cc +++ b/src/tools/dcpomatic_disk.cc @@ -88,7 +88,9 @@ public: boost::optional<boost::filesystem::path> get () const { auto const dcp = boost::filesystem::path(wx_to_std(GetPath())); + LOG_DISK("Checking %1 for ASSETMAP", dcp.string()); if (!dcp::filesystem::exists(dcp / "ASSETMAP") && !dcp::filesystem::exists(dcp / "ASSETMAP.xml")) { + LOG_DISK("Found neither %1 nor %2", dcp / "ASSETMAP", dcp / "ASSETMAP.xml"); error_dialog (nullptr, _("No ASSETMAP or ASSETMAP.xml found in this folder. Please choose a DCP folder.")); return {}; } |
