main: simplify conversion error message

This commit is contained in:
Andrzej Rybczak
2014-11-15 17:53:40 +01:00
parent 0c58af8c53
commit 3b46248a61

View File

@@ -230,7 +230,7 @@ int main(int argc, char **argv)
} }
catch (ConversionError &e) catch (ConversionError &e)
{ {
Statusbar::printf("Couldn't convert value \"%1%\" to target type", e.value()); Statusbar::printf("Invalid value: %1%", e.value());
} }
catch (OutOfBounds &e) catch (OutOfBounds &e)
{ {