From 481e17d5fa5c7a3dd7ef22cbffde4043f59d6b81 Mon Sep 17 00:00:00 2001 From: tmohay <37158202+rain-on@users.noreply.github.com> Date: Wed, 21 Nov 2018 14:13:27 +1100 Subject: [PATCH] Reword error messages following exceptions during mining (#291) --- .../pegasys/pantheon/ethereum/blockcreation/BlockMiner.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereum/blockcreation/src/main/java/tech/pegasys/pantheon/ethereum/blockcreation/BlockMiner.java b/ethereum/blockcreation/src/main/java/tech/pegasys/pantheon/ethereum/blockcreation/BlockMiner.java index 7cbb932172..73afd52df2 100644 --- a/ethereum/blockcreation/src/main/java/tech/pegasys/pantheon/ethereum/blockcreation/BlockMiner.java +++ b/ethereum/blockcreation/src/main/java/tech/pegasys/pantheon/ethereum/blockcreation/BlockMiner.java @@ -73,9 +73,9 @@ public class BlockMiner> implements Runnabl LOG.info("Block creation process cancelled."); break; } catch (final InterruptedException ex) { - LOG.error("Block mining was interrupted {}", ex); + LOG.error("Block mining was interrupted.", ex); } catch (final Exception ex) { - LOG.error("Blocking mining threw an exception {}", ex); + LOG.error("Block mining threw an unhandled exception.", ex); } } }