nekochans / lgtm-cat-frontend

lgtm-cat(サービス名 LGTMeow https://lgtmeow.com) のフロントエンド用
https://lgtmeow.com
21 stars 2 forks source link

App RouterでSentryの設定を有効にした #293

Closed keitakn closed 5 months ago

keitakn commented 5 months ago

issueURL

https://github.com/nekochans/lgtm-cat-frontend/issues/292

関連 URL

https://vercel.live/open-feedback/lgtm-cat-frontend-git-feature-issue292sentry-nekochans.vercel.app?via=pr-comment-visit-preview-link&passThrough=1

このPRで対応すること / このPRで対応しないこと

エラー発生時にSentry上にエラーレポートが送信されるようにする。

Storybook の URL もしくはスクリーンショット

https://622b6c5dc31e9e003a111eb5-xqxeedxssq.chromatic.com/

変更点概要

以下のドキュメントを参考に Sentry.captureException を明示的にコールするように変更。

https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

レビュアーに重点的にチェックして欲しい点

特になし

補足情報

特になし

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lgtm-cat-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2024 3:07pm
codecov[bot] commented 5 months ago

Codecov Report

Attention: Patch coverage is 0% with 31 lines in your changes are missing coverage. Please review.

Project coverage is 24.50%. Comparing base (d91fb97) to head (62da0fd).

Files Patch % Lines
src/app/global-error.tsx 0.00% 26 Missing and 1 partial :warning:
src/app/en/error.tsx 0.00% 2 Missing :warning:
src/app/error.tsx 0.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## release/v2.8.0 #293 +/- ## ================================================== - Coverage 24.58% 24.50% -0.09% ================================================== Files 223 224 +1 Lines 8122 8151 +29 Branches 298 299 +1 ================================================== Hits 1997 1997 - Misses 5957 5985 +28 - Partials 168 169 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.