mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-18 14:29:01 +08:00
08a38f0a5e
* refactor: typing house-keeping * fix: fix parse date not accepting strict mode * refactor: use npm package * fix: address review
8 lines
259 B
TypeScript
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 = () => {};
|