Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API 呼び出しの try の範囲を狭める #609

Merged
merged 1 commit into from
Dec 5, 2022

Conversation

HosokawaR
Copy link
Member

@HosokawaR HosokawaR commented Nov 26, 2022

背景

以下のコメントの通りです。
Resolves #585

補足
他にもtryが大きすぎるところはありますが、特にここは大きかったので修正しました。
これを修正しないと、API 呼び出しの部分のコードで発生したなんらかのエラーはすべてNetworkErrorになってしまいます。
その場合 #593 で Sentry を導入しても、プロダクトの改善が難しくなってしまうので、取り急ぎここの部分だけ修正しました。

変更

try の範囲を狭めました。

@vercel
Copy link

vercel bot commented Nov 26, 2022

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

Name Status Preview Updated
twinte-front ✅ Ready (Inspect) Visit Preview Nov 26, 2022 at 11:34PM (UTC)

Copy link
Contributor

@hayato24s hayato24s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます。
お疲れ様です!

@HosokawaR HosokawaR merged commit 0a3ea2e into main Dec 5, 2022
@HosokawaR HosokawaR deleted the fix/api-callback-error-handling branch December 5, 2022 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

try の範囲を狭める
3 participants