getsentry / getsentry/sentry-javascript

Ability to add response body to httpClientIntegration

Open
#12,544 7 comments 1 reaction 0 assignees View on GitHub
Improvement Node.js
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Problem Statement

It would be very useful to have the response body for errors, because it mostly gives more explanation what caused an error.

### Solution Brainstorm

Add two extra options to `httpClientIntegration`:

- addRequestBody
- addResponseBody

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.