We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8338a05 commit 75d0f93Copy full SHA for 75d0f93
apps/hapi/package.json
@@ -7,7 +7,7 @@
7
},
8
"scripts": {
9
"build": "tsc",
10
- "start": "yarn build && node --require ./dist/instrumentation.js dist/app.js",
+ "start": "yarn build && node dist/app.js",
11
"clean": "npx rimraf node_modules,pnpm-lock.yaml"
12
13
"license": "MIT",
@@ -16,7 +16,7 @@
16
17
"dependencies": {
18
"@hapi/hapi": "21.3.9",
19
- "@sentry/node": "8.0.0-rc.1",
+ "@sentry/node": "8.9.2",
20
"dotenv": "^16.4.5"
21
}
22
apps/hapi/src/app.ts
@@ -1,4 +1,4 @@
1
-// import './instrumentation'; // file preloaded with --require option in node call
+import './instrument';
2
import * as Sentry from '@sentry/node';
3
import Hapi from '@hapi/hapi';
4
apps/hapi/src/instrumentation.ts renamed to apps/hapi/src/instrument.ts
0 commit comments