We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b2ebe5 commit 3ba48b4Copy full SHA for 3ba48b4
1 file changed
libs/common/include/s25util/StringConversion.h
@@ -85,7 +85,7 @@ inline T fromStringClassic(const std::string& value, bool fromHex = false)
85
{
86
T outVal;
87
if(!tryFromStringClassic(value, outVal, fromHex))
88
- throw ConversionError("Could not convert " + value);
+ throw ConversionError("Could not convert '" + value + "'");
89
return outVal;
90
}
91
0 commit comments