mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-01 04:34:24 +01:00
Import Sentry into workers
This commit is contained in:
@@ -2,6 +2,7 @@ import Debug from '@soapbox/stickynotes/debug';
|
||||
import * as Comlink from 'comlink';
|
||||
|
||||
import './handlers/abortsignal.ts';
|
||||
import '@/sentry.ts';
|
||||
|
||||
const debug = Debug('ditto:fetch.worker');
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ import * as Comlink from 'comlink';
|
||||
import { VerifiedEvent, verifyEvent } from 'nostr-tools';
|
||||
|
||||
import '@/nostr-wasm.ts';
|
||||
import '@/sentry.ts';
|
||||
|
||||
export const VerifyWorker = {
|
||||
verifyEvent(event: NostrEvent): event is VerifiedEvent {
|
||||
|
||||
Reference in New Issue
Block a user