src/main/java/io/paradoxical/rabbitmq/metrics/MetricsEventManager.java
/**
     * This should never fail as metrics are just not important enough to fail on runtime exceptions
     *
     * @param fullName
     * @param metric
     */
This should never fail as metrics are just not important enough to fail on runtime exceptions
@param fullName
@param metric
This should never fail as metrics are just not important enough to fail on runtime exceptions @param fullName @param metric
private void registerMetric(String fullName, Metric metric) {
        try {
            metricRegistry.register(fullName, metric);
        }
        catch (Throwable ex) {
            logger.warn(ex, "Error registering metric!");
            if (options.isThrowOnError()) {
                throw ex;
            }
        }
    }
private void registerMetric ( String fullName , Metric metric ) { try { metricRegistry . register ( fullName , metric ) ; } catch ( Throwable ex ) { logger . warn ( ex , "Error registering metric!" ) ; if ( options . isThrowOnError ( ) ) { throw ex ; } } }
This should never fail as metrics are just not important enough to fail on runtime exceptions
 @param fullName
 @param metric
This should never fail as metrics are just not important enough to fail on runtime exceptions @param fullName @param metric