-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
chore: normalize AuthError
message
#10964
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
@k-taro56 is attempting to deploy a commit to the authjs Team on Vercel. A member of the Team first needs to authorize it. |
AuthError
messageAuthError
message
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10964 +/- ##
==========================================
- Coverage 40.10% 40.10% -0.01%
==========================================
Files 178 178
Lines 28527 28525 -2
Branches 1240 1246 +6
==========================================
- Hits 11440 11439 -1
+ Misses 17087 17086 -1 ☔ View full report in Codecov by Sentry. |
☕️ Reasoning
Messages passed to the constructor of a class that extends
AuthError
must not end with a period'.'
.Ending with a period
'.'
causes the constructor to normalize and add a double period'..'
.next-auth/packages/core/src/errors.ts
Line 76 in b420d36
I have checked that other error messages do not end with a period.
🧢 Checklist
🎫 Affected issues
No Issue
📌 Resources