Improve error log

This commit is contained in:
Willian Mitsuda 2021-07-03 19:15:22 -03:00
parent 78c2555689
commit 6e5ceccbaa
1 changed files with 1 additions and 0 deletions

View File

@ -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]);