mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 02:45:07 +03:00
11 lines
368 B
TypeScript
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))
|
|
)
|