sentry-javascript
sentry-javascript copied to clipboard
Allow rejectUnauthorized on httpstransport
- [x] Review the documentation: https://docs.sentry.io/
- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases
Package + Version
- [ ]
@sentry/browser
- [x]
@sentry/node
- [ ]
raven-js
- [ ]
raven-node
(raven for node) - [ ] other:
Version:
5.1.0
Description
Currently we are only able to send messages to our sentry server by setting:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
I would like to make this more specific to sentry by setting rejectUnauthorized: false
during initialization.
This was possible in the old raven client:
transport: new raven.transports.HTTPSTransport({rejectUnauthorized: false})
Is this possible in Sentry?