Commit 95d810e 1 parent 4fef3d5 commit 95d810e Copy full SHA for 95d810e
File tree 1 file changed +5
-3
lines changed
v-next/hardhat/src/internal/cli/telemetry/sentry
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,11 @@ class Reporter {
63
63
64
64
log ( "Initializing Reporter instance" ) ;
65
65
66
- const { Integrations, init, setExtra } = await import ( "@sentry/node" ) ;
66
+ const { init, setExtra, linkedErrorsIntegration } = await import (
67
+ "@sentry/node"
68
+ ) ;
67
69
68
- const linkedErrorsIntegration = new Integrations . LinkedErrors ( {
70
+ const linkedErrorsIntegrationInstance = linkedErrorsIntegration ( {
69
71
key : "cause" ,
70
72
} ) ;
71
73
@@ -74,7 +76,7 @@ class Reporter {
74
76
init ( {
75
77
dsn : SENTRY_DSN ,
76
78
transport,
77
- integrations : ( ) => [ linkedErrorsIntegration ] ,
79
+ integrations : ( ) => [ linkedErrorsIntegrationInstance ] ,
78
80
} ) ;
79
81
80
82
setExtra ( "nodeVersion" , process . version ) ;
You can’t perform that action at this time.
0 commit comments