BigInteger length = getLength(inputStream);
LOGGER.debug("Pickle length {}", length);
List<Metric> metrics = getMetrics(inputStream, length);
LOGGER.debug("Pickle size: {}", metrics.size());
executor.execute(new MetricsTask(copyOf(metrics), checksStore, checkRunnerFactory));
}
} catch (Exception e) {
LOGGER.warn("An error occurs when decoding pickle message: '{}' (change log level to debug to see stack trace).", e.getMessage());
LOGGER.debug("An error occurs when decoding pickle message: ", e);
} finally {