Files
supabase/apps/studio/domain/monitoring/error-reporting.runtime.ts

11 lines
368 B
TypeScript

import { Layer } from 'effect'
import { Atom } from 'effect/unstable/reactivity'
import { CurrentLocationLive } from './current-location'
import { ErrorReportingLive } from './error-reporting'
import { SentryLive } from './sentry'
export const errorReportingRuntime = Atom.runtime(
Layer.provide(ErrorReportingLive, Layer.merge(CurrentLocationLive, SentryLive))
)