From 6e5ceccbaa3ea3a239fbafd31a2d585b2cbee31a Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Sat, 3 Jul 2021 19:15:22 -0300 Subject: [PATCH] Improve error log --- src/Block.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Block.tsx b/src/Block.tsx index 921bacd..058ac39 100644 --- a/src/Block.tsx +++ b/src/Block.tsx @@ -84,6 +84,7 @@ const Block: React.FC = () => { try { return block && ethers.utils.toUtf8String(block.extraData); } catch (err) { + console.error("Error while converting block extra data to string"); console.error(err); } }, [block]);