Commit fe850733 authored by Steven Murray's avatar Steven Murray
Browse files

Corrected exception message of utils::toUint64()

parent eb174c95
......@@ -626,7 +626,7 @@ uint64_t toUint64(const std::string &str) {
try {
return std::stoul(str);
} catch(std::invalid_argument &) {
throw exception::Exception("Invalid string");
throw exception::Exception("Invalid uint64");
} catch(std::out_of_range &) {
throw exception::Exception("Out of range");
} catch(std::exception &se) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment