fixed dropwizzard endpoints

Should use logging and should probably re-raise another exception to prevent returning null