Skip to content

Commit

Permalink
Merge pull request #1190 from ipdae/logging-action-failure
Browse files Browse the repository at this point in the history
Logging action execution failed msg
  • Loading branch information
ipdae authored Feb 17, 2021
2 parents 2cebb49 + 1572991 commit 95a8409
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Libplanet/Action/ActionEvaluation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ int randomSeed
$"The action {action} (block #{blockIndex} {blockHash}, tx {txid}, " +
$"state root hash {stateRootHash}) threw an exception " +
"during execution. See also this exception's InnerException property.";
Log.Error("{Message}\nInnerException: {ExcMessage}", msg, e.Message);
exc = new UnexpectedlyTerminatedActionException(
blockHash, blockIndex, txid, stateRootHash, action, msg, e
);
Expand Down

0 comments on commit 95a8409

Please sign in to comment.