You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure what layer this issue exists on (maybe actually Dropwizard), but after switching to the DW-managed Jdbi factory process, the server emits a really misleading set of exceptions when you forget to pass it the path to the config file. This is because the call to JdbiFactory.build() fails since it's missing the necessary DataSourceFactory info stored within.
Ideally, Dropwizard should figure this out for us and emit a helpful error, but alas, for now I think it'd be best to just handle the exception in a user-friendly way.
The text was updated successfully, but these errors were encountered:
I'm not sure what layer this issue exists on (maybe actually Dropwizard), but after switching to the DW-managed Jdbi factory process, the server emits a really misleading set of exceptions when you forget to pass it the path to the config file. This is because the call to
JdbiFactory.build()
fails since it's missing the necessary DataSourceFactory info stored within.Ideally, Dropwizard should figure this out for us and emit a helpful error, but alas, for now I think it'd be best to just handle the exception in a user-friendly way.
The text was updated successfully, but these errors were encountered: