diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-08-17 21:36:27 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-08-17 21:36:27 +0200 |
commit | e30988f7b85e1ba31cee325fe6a49bcfa78cfc4a (patch) | |
tree | 118cdcef0bdf7827a2cd69bea22dc626feb717df /drumgizmo | |
parent | cccffdaa832f6f0d856409b092262f32ed466130 (diff) |
Make dgvalidator 'missing image' errors slightly more verbose.
Diffstat (limited to 'drumgizmo')
-rw-r--r-- | drumgizmo/dgvalidator.cc | 9 |
1 files changed, 6 insertions, 3 deletions
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 |