mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
* test: integration test for user feedback * fix(test): try to set shell to True to use environment variables * chore: debug nodejs sdk output * test: run user feedback test only on feature-complete * test: make javascript file relative * Update _integration-test/nodejs/package.json * Update _integration-test/test_01_basics.py --------- Co-authored-by: Hanzo Dev <[email protected]>
13 lines
266 B
JavaScript
13 lines
266 B
JavaScript
import * as Sentry from "@sentry/node";
|
|
|
|
Sentry.init({
|
|
dsn: process.env.SENTRY_DSN,
|
|
sampleRate: 1.0,
|
|
tracesSampleRate: 1.0,
|
|
enableLogs: true,
|
|
profileLifecycle: "manual",
|
|
sendClientReports: true,
|
|
sendDefaultPii: true,
|
|
debug: true,
|
|
});
|