diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 2f429be38a..a05609d400 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -169,7 +169,7 @@ UniValue changesettings(const UniValue& params, bool fHelp) { current_value = gArgs.GetArg(name, "never_used_default"); } - catch (std::exception& e) + catch (...) { // If it is a number convert back to a string. current_value = ToString(gArgs.GetArg(name, 1)); @@ -236,4 +236,3 @@ UniValue changesettings(const UniValue& params, bool fHelp) return result; } -