MCPcopy Create free account
hub / github.com/effect-app/libs / captureException

Function captureException

packages/vue/src/errorReporter.ts:93–98  ·  view source on GitHub ↗
(error: unknown, extras?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

91}
92
93export function captureException(error: unknown, extras?: Record<string, unknown>) {
94 const scope = new Sentry.Scope()
95 if (extras) scope.setContext("extras", extras)
96 Sentry.captureException(error, extras)
97 console.error(error, extras)
98}
99
100export const reportMessage = Effect.fnUntraced(function*(message: string, extras?: Record<string, unknown>) {
101 const scope = new Sentry.Scope()

Callers

nothing calls this directly

Calls 2

errorMethod · 0.80
setContextMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…