Reword error messages following exceptions during mining (#291)

tmohay 6 years ago committed by GitHub
parent 4d95c60eb3
commit 481e17d5fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ethereum/blockcreation/src/main/java/tech/pegasys/pantheon/ethereum/blockcreation/BlockMiner.java

@ -73,9 +73,9 @@ public class BlockMiner<C, M extends AbstractBlockCreator<C>> 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);
}
}
}

Loading…
Cancel
Save