Skip to content

Commit

Permalink
Change std::exception to ...
Browse files Browse the repository at this point in the history
Co-authored-by: Cy Rossignol <cy@rossignols.me>
  • Loading branch information
jamescowens and cyrossignol committed Jun 13, 2021
1 parent b481090 commit 6412a0c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rpc/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -236,4 +236,3 @@ UniValue changesettings(const UniValue& params, bool fHelp)

return result;
}

0 comments on commit 6412a0c

Please sign in to comment.