@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
|
@@ -188,13 +188,6 @@ export function initSentry() {
|
|
|
188
188
|
handlersRegistered = true;
|
|
189
189
|
// Node.js specific handlers
|
|
190
190
|
if (typeof process !== "undefined" && typeof process.on === "function") {
|
|
191
|
-
// Flush Sentry on termination signals without calling process.exit(),
|
|
192
|
-
// so the host application retains control over its own shutdown lifecycle.
|
|
193
|
-
const signalHandler = () => {
|
|
194
|
-
flushSentry(500).catch(() => {
|
|
195
|
-
// Silently fail
|
|
196
|
-
});
|
|
197
|
-
};
|
|
198
191
|
// Monitor uncaught exceptions to capture SDK errors without
|
|
199
192
|
// preventing Node.js default crash behavior (print + exit).
|
|
200
193
|
const uncaughtExceptionMonitorHandler = (error) => {
|
|
@@ -202,8 +195,6 @@ export function initSentry() {
|
|
|
202
195
|
captureException(error);
|
|
203
196
|
}
|
|
204
197
|
};
|
|
205
|
-
process.once("SIGTERM", signalHandler);
|
|
206
|
-
process.once("SIGINT", signalHandler);
|
|
207
198
|
process.on("uncaughtExceptionMonitor", uncaughtExceptionMonitorHandler);
|
|
208
199
|
// Intercept console.error to capture SDK errors that are caught and logged
|
|
209
200
|
const originalConsoleError = console.error;
|
|
@@ -3,8 +3,8 @@ import { authentication } from "../authentication/index.js";
|
|
|
3
3
|
import { env } from "../common/env.js";
|
|
4
4
|
import { fs, os, path } from "../common/node.js";
|
|
5
5
|
// Build info - these placeholders are replaced at build time by build:replace-imports
|
|
6
|
-
const BUILD_VERSION = "0.2.76
|
|
7
|
-
const BUILD_COMMIT = "
|
|
6
|
+
const BUILD_VERSION = "0.2.76";
|
|
7
|
+
const BUILD_COMMIT = "c20b61b130cca1692f6feaa2da8ad675f2aee770";
|
|
8
8
|
const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
|
|
9
9
|
// Cache for config.yaml tracking value
|
|
10
10
|
let configTrackingValue = null;
|
|
@@ -172,8 +172,8 @@ class Settings {
|
|
|
172
172
|
if (configValue !== null) {
|
|
173
173
|
return configValue;
|
|
174
174
|
}
|
|
175
|
-
// Default to
|
|
176
|
-
return
|
|
175
|
+
// Default to false (opt-in tracking)
|
|
176
|
+
return false;
|
|
177
177
|
}
|
|
178
178
|
get region() {
|
|
179
179
|
return env.BL_REGION || undefined;
|