diff --git a/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java b/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java index e02d6f6..509c374 100644 --- a/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java +++ b/ratelimitj-dropwizard/src/main/java/es/moki/ratelimij/dropwizard/filter/RateLimit429EnforcerFilter.java @@ -70,8 +70,7 @@ public void filter(final ContainerRequestContext requestContext) throws IOExcept } else { LOG.warn("No key was provided by the key provide '{}'", keyProvider.getClass()); } - } - catch (Exception e) { + } catch (Exception e) { LOG.error("Error occurred checking rate-limit. Assuming under limit", e); } }