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 6412a0c commit f9ec023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ SideStakeAlloc GetSideStakingStatusAndAlloc()
{
dAllocation = stof(entry.second) / 100.0;
}
catch (std::exception& e)
catch (...)
{
LogPrintf("WARN: %s: Invalid allocation provided. Skipping allocation.", __func__);
continue;
Expand Down

0 comments on commit f9ec023

Please sign in to comment.