Commit 50c6cc2
committed
Tighten search page error handling
If a user sends `page[]=1` as a param, we'll get a Vector here, which
will cause a ClassCastException instead of a NumberFormatException. So
we'll just catch any exception here and return an error response instead
of triggering a 500.1 parent 4a109fd commit 50c6cc2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments