Improve error log
This commit is contained in:
parent
78c2555689
commit
6e5ceccbaa
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue