Author: post
Date: 2013-02-12 15:43:37 +0100 (Tue, 12 Feb 2013)
New Revision: 515
Modified:
RawSpeed/RawDecoder.cpp
Log:
Add more clear error message.
Modified: RawSpeed/RawDecoder.cpp
===================================================================
--- RawSpeed/RawDecoder.cpp 2013-02-10 16:54:58 UTC (rev 514)
+++ RawSpeed/RawDecoder.cpp 2013-02-12 14:43:37 UTC (rev 515)
@@ -205,7 +205,7 @@
printf("Unable to find camera in database: %s %s %s\n", make.c_str(),
model.c_str(), mode.c_str());
if (failOnUnknown)
- ThrowRDE("Camera not supported, and not allowed to guess. Sorry.");
+ ThrowRDE("Camera '%s' '%s', mode '%s' not supported, and not allowed to
guess. Sorry.", make.c_str(), model.c_str(), mode.c_str());
// Assume the camera can be decoded, but return false, so decoders can see
that we are unsure.
return false;
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit