better logging for sentry on es error