From 1572991a5f1c2c3101d45db4e81a43c7a20f249d Mon Sep 17 00:00:00 2001 From: Yang Chun Ung Date: Mon, 15 Feb 2021 17:48:25 +0900 Subject: [PATCH] Logging action execution failed msg [skip changelog] --- Libplanet/Action/ActionEvaluation.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Libplanet/Action/ActionEvaluation.cs b/Libplanet/Action/ActionEvaluation.cs index f4c573c0e8..edd817fc10 100644 --- a/Libplanet/Action/ActionEvaluation.cs +++ b/Libplanet/Action/ActionEvaluation.cs @@ -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 );