Better error logging in the service.