|
|
@ -419,7 +419,10 @@ public: |
|
|
|
ex << errinfo_phase(1); |
|
|
|
ex << errinfo_now(time(0)); |
|
|
|
ex << errinfo_block(_block.toBytes()); |
|
|
|
ex << errinfo_extraData(h.extraData()); |
|
|
|
// only populate extraData if we actually managed to extract it. otherwise,
|
|
|
|
// we might be clobbering the existing one.
|
|
|
|
if (!h.extraData().empty()) |
|
|
|
ex << errinfo_extraData(h.extraData()); |
|
|
|
if (_onBad) |
|
|
|
_onBad(ex); |
|
|
|
throw; |
|
|
@ -441,7 +444,10 @@ public: |
|
|
|
ex << errinfo_uncleIndex(i); |
|
|
|
ex << errinfo_now(time(0)); |
|
|
|
ex << errinfo_block(_block.toBytes()); |
|
|
|
ex << errinfo_extraData(h.extraData()); |
|
|
|
// only populate extraData if we actually managed to extract it. otherwise,
|
|
|
|
// we might be clobbering the existing one.
|
|
|
|
if (!h.extraData().empty()) |
|
|
|
ex << errinfo_extraData(h.extraData()); |
|
|
|
if (_onBad) |
|
|
|
_onBad(ex); |
|
|
|
throw; |
|
|
@ -463,7 +469,10 @@ public: |
|
|
|
ex << errinfo_transactionIndex(i); |
|
|
|
ex << errinfo_transaction(d.toBytes()); |
|
|
|
ex << errinfo_block(_block.toBytes()); |
|
|
|
ex << errinfo_extraData(h.extraData()); |
|
|
|
// only populate extraData if we actually managed to extract it. otherwise,
|
|
|
|
// we might be clobbering the existing one.
|
|
|
|
if (!h.extraData().empty()) |
|
|
|
ex << errinfo_extraData(h.extraData()); |
|
|
|
if (_onBad) |
|
|
|
_onBad(ex); |
|
|
|
throw; |
|
|
|