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

CacheInterceptor: panicするのを修正 #835

Merged
merged 1 commit into from
Dec 19, 2023
Merged

Conversation

pirosiki197
Copy link
Contributor

@pirosiki197 pirosiki197 commented Dec 19, 2023

なぜやるか

err != nil の時 (resp == nil の時) にhashを計算しようとするとpanicする
panicするとerrの内容にかかわらず 500 Internal Server Error になってしまう

やったこと

err をチェックする

やらなかったこと

資料

@pirosiki197 pirosiki197 merged commit 46a41f0 into main Dec 19, 2023
14 checks passed
@pirosiki197 pirosiki197 deleted the fix/CacheInterceptor branch December 19, 2023 02:06
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.

2 participants