Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -12,7 +12,7 @@
|
||||
*
|
||||
* @see docs/improvement-plan/02-observability/sentry-wiring-api-worker.md
|
||||
*/
|
||||
import { createNoopErrorReporter, createSentryErrorReporter, type ErrorReporter } from "@toolctrl/error-reporter";
|
||||
import { createNoopErrorReporter, createSentryErrorReporter, type ErrorReporter } from "@hivegrid/error-reporter";
|
||||
|
||||
export interface ApiSentryConfig {
|
||||
dsn: string | undefined;
|
||||
@@ -54,7 +54,7 @@ let cachedConfig: ApiSentryConfig | undefined;
|
||||
* Idempotent. The first call builds the Sentry-backed reporter (or the
|
||||
* no-op reporter when `SENTRY_DSN_API` is empty); subsequent calls return
|
||||
* the cached instance. The Sentry SDK is loaded lazily through the adapter
|
||||
* in `@toolctrl/error-reporter`, so unit tests that do not import this
|
||||
* in `@hivegrid/error-reporter`, so unit tests that do not import this
|
||||
* module never touch `@sentry/node` at all.
|
||||
*/
|
||||
export function initApiSentry(config: ApiSentryConfig = readApiSentryConfig()): ErrorReporter {
|
||||
|
||||
Reference in new issue
Block a user