diff --git a/log/format.go b/log/format.go index e156e4356e..1499570e9b 100644 --- a/log/format.go +++ b/log/format.go @@ -166,7 +166,7 @@ func FormatLogfmtValue(value interface{}, term bool) string { // Big ints get consumed by the Stringer clause, so we need to handle // them earlier on. if v == nil { - return "" + return "nil" } return formatLogfmtBigInt(v) @@ -174,7 +174,7 @@ func FormatLogfmtValue(value interface{}, term bool) string { // Uint256s get consumed by the Stringer clause, so we need to handle // them earlier on. if v == nil { - return "" + return "nil" } return formatLogfmtUint256(v) }