Commit c0ffca7
committed
always render error templates as html
fixes CNVS-28641
test plan:
- access an invalid url with a non-html format, like:
"/courses/X.png"
- it should only generate a "not found" error report, not a second error
report about missing templates
Change-Id: I6aaf4ec6363bf229175d1cfd626a0c565d729531
Reviewed-on: https://gerrit.instructure.com/76825
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
Product-Review: Simon Williams <simon@instructure.com>1 parent 129c4d9 commit c0ffca7
2 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1187 | 1187 | | |
1188 | 1188 | | |
1189 | 1189 | | |
| 1190 | + | |
1190 | 1191 | | |
1191 | 1192 | | |
1192 | 1193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
198 | 205 | | |
0 commit comments