Files
RSSHub/lib/shims/sentry-node.ts
Tony 08a38f0a5e refactor: typing house-keeping (#23074)
* refactor: typing house-keeping

* fix: fix parse date not accepting strict mode

* refactor: use npm package

* fix: address review
2026-08-22 23:58:30 +08:00

8 lines
259 B
TypeScript

// No-op shim for @sentry/node in Cloudflare Workers
type Scope = {
setTag: (key: string, value: string) => void;
};
export const withScope = (callback: (scope: Scope) => void) => callback({ setTag: () => {} });
export const captureException = () => {};