From e30988f7b85e1ba31cee325fe6a49bcfa78cfc4a Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 17 Aug 2020 21:36:27 +0200 Subject: Make dgvalidator 'missing image' errors slightly more verbose. --- drumgizmo/dgvalidator.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'drumgizmo') diff --git a/drumgizmo/dgvalidator.cc b/drumgizmo/dgvalidator.cc index ad3bf98..6a7c546 100644 --- a/drumgizmo/dgvalidator.cc +++ b/drumgizmo/dgvalidator.cc @@ -353,7 +353,8 @@ int main(int argc, char* argv[]) logger(LogLevel::Info, "Found drumkit image '" + image + "'"); if(!pathIsFile(image)) { - logger(LogLevel::Error, "Image file does not exist."); + logger(LogLevel::Error, "Drumkit image file does not exist: '" + + image + "'"); image_error = true; } else @@ -384,7 +385,8 @@ int main(int argc, char* argv[]) logger(LogLevel::Info, "Found drumkit image_map '" + image_map + "'"); if(!pathIsFile(image_map)) { - logger(LogLevel::Error, "Image map file does not exist."); + logger(LogLevel::Error, "Drumkit image map file does not exist: '" + + image_map + "'"); image_error = true; } else @@ -539,7 +541,8 @@ int main(int argc, char* argv[]) logger(LogLevel::Info, "Found drumkit logo field '" + image + "'"); if(!pathIsFile(image)) { - logger(LogLevel::Error, "Image file does not exist."); + logger(LogLevel::Error, "Logo image file does not exist: '" + + image + "'"); metadata_error = true; } else -- cgit v1.2.3