Skip to content

Commit

Permalink
fixing older commit
Browse files Browse the repository at this point in the history
  • Loading branch information
gs-gunjan authored Oct 1, 2024
1 parent b555578 commit 30009cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ public void run(T configuration, Environment environment)
environment.jersey().setUrlPattern(configuration.getUrlPattern());
}
environment.jersey().register(MultiPartFeature.class);
environment.jersey().register(new DepotServerExceptionMapper(configuration.getExceptionMapperConfiguration().includeStackTrace()));
environment.jersey().register(new DepotServerExceptionMapper(isExceptionsIncludeStackTrace()));
environment.jersey().register(new JsonProcessingExceptionMapper(true));
environment.jersey().register(new CatchAllExceptionMapper(configuration.getExceptionMapperConfiguration().includeStackTrace()));
environment.jersey().register(new CatchAllExceptionMapper(isExceptionsIncludeStackTrace()));
registerJacksonJsonProvider(environment.jersey());

environment.healthChecks().register("HealthCheck", new HealthCheck()
Expand Down

0 comments on commit 30009cc

Please sign in to comment.