Skip to content

Commit a97e937

Browse files
committed
Update to latest calculator.hpp
1 parent 873eafa commit a97e937

2 files changed

Lines changed: 368 additions & 104 deletions

File tree

src/CmdOptions.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct Option
5656
return calculator::eval<T>(val);
5757
}
5858
catch (std::exception&) {
59-
throw std::runtime_error("invalid option '" + opt + "=" + val + "'");
59+
throw std::runtime_error("invalid option '" + opt + "=" + val + "'\n" + e.what());
6060
}
6161
}
6262
};

0 commit comments

Comments
 (0)