mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
Better logging in case of tree root setting error
This commit is contained in:
parent
addaadf711
commit
caee282fcc
1 changed files with 4 additions and 1 deletions
|
@ -594,7 +594,10 @@ impl Miner {
|
||||||
Err(chain::Error::DuplicateCommitment(e)) =>
|
Err(chain::Error::DuplicateCommitment(e)) =>
|
||||||
Err(Error::Chain(chain::Error::DuplicateCommitment(e))),
|
Err(Error::Chain(chain::Error::DuplicateCommitment(e))),
|
||||||
//Some other issue is worth a panic
|
//Some other issue is worth a panic
|
||||||
Err(e) => panic!(e),
|
Err(e) => {
|
||||||
|
error!(LOGGER, "Error setting sumtree root to build a block: {:?}", e);
|
||||||
|
panic!(e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue