QuickSearch improve error checking#6059
Conversation
ryan-preble
left a comment
There was a problem hiding this comment.
I have often used both eval and Try::Tiny to do error handling, but I hear that Try::Tiny is better. Should we commit to using one or the other for new code or does it not matter? Does Perl wizard Lukas have any input?
Try::Tiny is just syntactic sugar on an eval, as far as I know. So they two should be equivalent, but Try::Tiny is a bit easier on the eyes, so potentially we should prefer it for that reason. |
|
Maybe the quick search should be behind a login? User configurable in sgn_local.conf? |
website was crashing from bot use of quicksearch
fixed a few problems
Checklist
/t/data/fixture/patches/./docshas been updated./jsto/js/source/legacy.