logging api response in sentry