Skip to content

Commit

Permalink
add FC_THROW with message instead of just throw
Browse files Browse the repository at this point in the history
  • Loading branch information
cogutvalera committed Jul 30, 2018
1 parent 0d4f54e commit 4716300
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/wallet/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,7 @@ class wallet_api_impl
}
else
{
disable_umask_protection();
throw;
FC_THROW("wallet file cannot be saved");
}

wlog( "successfully saved wallet to file ${fn}", ("fn", wallet_filename) );
Expand Down

0 comments on commit 4716300

Please sign in to comment.