Commit cc66023
committed
Throw user-friendly exception with the proper HTTP statuscode (#2234)
* Throw user-friendly exception with the proper HTTP statuscode for 'method not found'
* Suppress traceback for MethodNotAllowed error, unless debug-logging is set
* Be able to suppress error reporting for specific types of errors1 parent 4a25f84 commit cc66023
File tree
2 files changed
+4
-0
lines changed- modules/core/locales/sr/LC_MESSAGES
- src/SimpleSAML/Error
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| 54 | + | |
| 55 | + | |
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments