Skip to content

Commit

Permalink
移除 Sentry.captureException 等有额度了再次测试
Browse files Browse the repository at this point in the history
  • Loading branch information
meetqy committed Dec 15, 2023
1 parent 0c1345a commit e6563e3
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 25 deletions.
1 change: 0 additions & 1 deletion packages/rlog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"@rao-pics/eslint-config": "workspace:*",
"@rao-pics/prettier-config": "workspace:*",
"@rao-pics/tsconfig": "workspace:*",
"@sentry/electron": "^4.14.0",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"typescript": "^5.1.6"
Expand Down
3 changes: 0 additions & 3 deletions packages/rlog/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export const RLogger = {
const message = e instanceof Error ? e.message : JSON.stringify(e);

console.log(chalk.red(`✖ ${t} ${message}`));
void import("@sentry/electron").then((Sentry) => {
Sentry.captureException(e);
});

callback?.(t, message);
},
Expand Down
48 changes: 27 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e6563e3

Please sign in to comment.