Improve error log
This commit is contained in:
parent
78c2555689
commit
6e5ceccbaa
|
@ -84,6 +84,7 @@ const Block: React.FC = () => {
|
||||||
try {
|
try {
|
||||||
return block && ethers.utils.toUtf8String(block.extraData);
|
return block && ethers.utils.toUtf8String(block.extraData);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
console.error("Error while converting block extra data to string");
|
||||||
console.error(err);
|
console.error(err);
|
||||||
}
|
}
|
||||||
}, [block]);
|
}, [block]);
|
||||||
|
|
Loading…
Reference in New Issue