private void handleException(final Throwable exception) {
    if (exception instanceof IOException || exception instanceof DecodeException) {
      LOG.debug("Packet handler exception", exception);
    } else {
      LOG.error("Packet handler exception", exception);
    }
  }
For uncontrolled exceptions occurring in the packet handlers.

@param exception the exception that was raised
ethereum/p2p/src/main/java/org/hyperledger/besu/ethereum/p2p/discovery/VertxPeerDiscoveryAgent.java