File tree 3 files changed +9
-12
lines changed
3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,7 @@ export function applyDefaultOptions(optionsArg: BrowserOptions = {}): BrowserOpt
53
53
release :
54
54
typeof __SENTRY_RELEASE__ === 'string' // This allows build tooling to find-and-replace __SENTRY_RELEASE__ to inject a release value
55
55
? __SENTRY_RELEASE__
56
- : WINDOW . SENTRY_RELEASE ?. id // This supports the variable that sentry-webpack-plugin injects
57
- ? WINDOW . SENTRY_RELEASE . id
58
- : undefined ,
56
+ : WINDOW . SENTRY_RELEASE ?. id , // This supports the variable that sentry-webpack-plugin injects
59
57
sendClientReports : true ,
60
58
} ;
61
59
Original file line number Diff line number Diff line change @@ -138,15 +138,6 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
138
138
*/
139
139
normalizeMaxBreadth ?: number ;
140
140
141
- /**
142
- * Controls how many milliseconds to wait before shutting down. The default is
143
- * SDK-specific but typically around 2 seconds. Setting this too low can cause
144
- * problems for sending events from command line applications. Setting it too
145
- * high can cause the application to block for users with network connectivity
146
- * problems.
147
- */
148
- shutdownTimeout ?: number ;
149
-
150
141
/**
151
142
* A pattern for error messages which should not be sent to Sentry.
152
143
* By default, all errors will be sent.
Original file line number Diff line number Diff line change @@ -120,6 +120,14 @@ export interface BaseNodeOptions {
120
120
*/
121
121
disableInstrumentationWarnings ?: boolean ;
122
122
123
+ /**
124
+ * Controls how many milliseconds to wait before shutting down. The default is 2 seconds. Setting this too low can cause
125
+ * problems for sending events from command line applications. Setting it too
126
+ * high can cause the application to block for users with network connectivity
127
+ * problems.
128
+ */
129
+ shutdownTimeout ?: number ;
130
+
123
131
/** Callback that is executed when a fatal global error occurs. */
124
132
onFatalError ?( this : void , error : Error ) : void ;
125
133
}
You can’t perform that action at this time.
0 commit comments