-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Improve error feedback for duplicate deploy keys #13112
Conversation
Instead of a generic HTTP 500 error page, a flash message is rendered with the deploy key page template so inform the user that a key with the intended title already exists.
Hi thanks for the PR! Could you add handling to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
also I suspect that we need to "handle" more of the "expected" errors in |
I'm fine with as is and yes it's true there could be handled more of that stuff witch is currently not already solve the issue in this state ... |
I just did! |
Codecov Report
@@ Coverage Diff @@
## master #13112 +/- ##
=======================================
Coverage 42.52% 42.52%
=======================================
Files 673 673
Lines 74111 74116 +5
=======================================
+ Hits 31514 31517 +3
Misses 37478 37478
- Partials 5119 5121 +2
Continue to review full report at Codecov.
|
🚀 |
I'll see if I can tackle that in another PR. Thank you both for the speedy review! |
Instead of a generic HTTP 500 error page, a flash message is rendered with the deploy key page template to inform the user that a key with the intended title already exists. Resolves #13110