diff options
-rw-r--r-- | bbot/types-parsers.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bbot/types-parsers.cxx b/bbot/types-parsers.cxx index 9d31172..ef03f2e 100644 --- a/bbot/types-parsers.cxx +++ b/bbot/types-parsers.cxx @@ -63,9 +63,9 @@ namespace bbot { x = standard_version (v); } - catch (const invalid_argument&) + catch (const invalid_argument& e) { - throw invalid_value (o, v); //@@ Would be nice to include description. + throw invalid_value (o, v, e.what ()); } } } |