I am using JDBI + Sql Object API + Binding to create new Customer records in a postgres db. We have a unique constraint on a field. Violations on this constraint rule result in a HTTP 500. I want to catch the underlying LoggingDBIExceptionMapper/PSQLException and return a 400 instead. what is the "Dropwizard" way to handle this scenario?
Thanks -jeremiah -- You received this message because you are subscribed to the Google Groups "dropwizard-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.