@blaxel/core 0.2.76-preview.120 → 0.2.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/common/sentry.js +0 -9
- package/dist/cjs/common/settings.js +4 -4
- package/dist/cjs-browser/.tsbuildinfo +1 -1
- package/dist/cjs-browser/common/sentry.js +0 -9
- package/dist/cjs-browser/common/settings.js +4 -4
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/common/sentry.js +0 -9
- package/dist/esm/common/settings.js +4 -4
- package/dist/esm-browser/.tsbuildinfo +1 -1
- package/dist/esm-browser/common/sentry.js +0 -9
- package/dist/esm-browser/common/settings.js +4 -4
- package/package.json +1 -1
|
@@ -193,13 +193,6 @@ function initSentry() {
|
|
|
193
193
|
handlersRegistered = true;
|
|
194
194
|
// Node.js specific handlers
|
|
195
195
|
if (typeof process !== "undefined" && typeof process.on === "function") {
|
|
196
|
-
// Flush Sentry on termination signals without calling process.exit(),
|
|
197
|
-
// so the host application retains control over its own shutdown lifecycle.
|
|
198
|
-
const signalHandler = () => {
|
|
199
|
-
flushSentry(500).catch(() => {
|
|
200
|
-
// Silently fail
|
|
201
|
-
});
|
|
202
|
-
};
|
|
203
196
|
// Monitor uncaught exceptions to capture SDK errors without
|
|
204
197
|
// preventing Node.js default crash behavior (print + exit).
|
|
205
198
|
const uncaughtExceptionMonitorHandler = (error) => {
|
|
@@ -207,8 +200,6 @@ function initSentry() {
|
|
|
207
200
|
captureException(error);
|
|
208
201
|
}
|
|
209
202
|
};
|
|
210
|
-
process.once("SIGTERM", signalHandler);
|
|
211
|
-
process.once("SIGINT", signalHandler);
|
|
212
203
|
process.on("uncaughtExceptionMonitor", uncaughtExceptionMonitorHandler);
|
|
213
204
|
// Intercept console.error to capture SDK errors that are caught and logged
|
|
214
205
|
const originalConsoleError = console.error;
|
|
@@ -9,8 +9,8 @@ const index_js_1 = require("../authentication/index.js");
|
|
|
9
9
|
const env_js_1 = require("../common/env.js");
|
|
10
10
|
const node_js_1 = require("../common/node.js");
|
|
11
11
|
// Build info - these placeholders are replaced at build time by build:replace-imports
|
|
12
|
-
const BUILD_VERSION = "0.2.76
|
|
13
|
-
const BUILD_COMMIT = "
|
|
12
|
+
const BUILD_VERSION = "0.2.76";
|
|
13
|
+
const BUILD_COMMIT = "c20b61b130cca1692f6feaa2da8ad675f2aee770";
|
|
14
14
|
const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
|
|
15
15
|
// Cache for config.yaml tracking value
|
|
16
16
|
let configTrackingValue = null;
|
|
@@ -178,8 +178,8 @@ class Settings {
|
|
|
178
178
|
if (configValue !== null) {
|
|
179
179
|
return configValue;
|
|
180
180
|
}
|
|
181
|
-
// Default to
|
|
182
|
-
return
|
|
181
|
+
// Default to false (opt-in tracking)
|
|
182
|
+
return false;
|
|
183
183
|
}
|
|
184
184
|
get region() {
|
|
185
185
|
return env_js_1.env.BL_REGION || undefined;
|