tktcorporation / vrchat-join-recorder

VRChat の Join 情報を記録し、あとから World 情報を振り返る デスクトップApp
0 stars 0 forks source link

dev #46

Closed tktcorporation closed 9 months ago

tktcorporation commented 9 months ago

Summary by CodeRabbit

coderabbitai[bot] commented 9 months ago

Walkthrough

変更の概要としては、エラーログの取り扱いに関するものが中心です。新たにpony-causeモジュールからstackWithCauses関数をインポートし、エラー処理機能を強化しています。また、複数のファイルからログ出力に関するコードが削除され、デバッグやモニタリングの方法に変更が生じています。

Changes

ファイルパス 変更概要
electron/api.ts stackWithCausesのインポート追加、logError関数のロジック変更、errorHandlerミドルウェアのロジック変更
electron/service.ts
electron/service/infoFile/service.ts
electron/service/vrchatLog/vrchatLog.ts
ログ出力関連のコード削除、ts-patternからmatchのインポート追加

🐰💻 変更を祝して詠む詩、
ログは静かに消えてゆく、
エラーは新たな道を歩む、
コードの世界は、また一つ賢く。


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`