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 |
|
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