evazion
6a984de3d5
views: refactor page titles.
...
Refactor `page_title` helper to automatically include site name.
2020-01-25 01:52:18 -06:00
evazion
f151285038
views: standardize page titles.
2019-08-24 22:55:35 -05:00
evazion
e70cae457d
application controller: clean up exception handling.
...
* Simplify code.
* Show backtraces for all users, not just builders.
* Show backtraces only for unexpected server errors (status 5xx), not
for normal client errors (status 4xx).
* Log expected errors at info level (reduce noise in production logs).
2019-08-13 21:30:20 -05:00
evazion
b4cf423058
Clean backtraces in uploads/show, static/error.json.
2018-09-23 20:08:13 -05:00
evazion
0d69c03249
Fix "undefined method `is_builder?' for nil:NilClass" in static/error.html.erb.
...
`CurrentUser.user` may be nil if an exception is raised before it's
initialized.
2017-12-23 18:27:04 -06:00
evazion
5f1b7da95d
Fix "RuntimeError: can't modify frozen String" in static/error.html.erb.
...
Fixes a frequently occurring error in New Relic.
2017-12-23 18:23:41 -06:00
evazion
183a7e07e3
pixiv: fix failbooru when uploading bad pixiv id posts.
...
Fixes an "incompatible character encodings: UTF-8 and ASCII-8BIT"
exception when uploading a deleted Pixiv post.
Caused by the Pixiv API error message not having the encoding set to UTF-8.
2017-11-21 14:11:59 -06:00
r888888888
f62b49bbeb
fixes #2484 : Only show application trace for errors
2016-09-23 12:11:48 -07:00
Toks
c776ee567e
Display more detailed error, only if it exists
2014-12-09 21:10:42 -05:00
Toks
90bca638bf
fixes #2316 (and similar post error messages)
2014-11-30 14:48:51 -05:00
Toks
91270f4567
Fix 404/timeout errors not showing
2014-11-25 21:04:03 -05:00
r888888888
e362d73bb3
fixes #2312
2014-11-25 14:58:00 -08:00
r888888888
d5f575159f
rename references of privileged to gold
2013-04-28 00:04:52 -07:00
albert
ae6e8fce30
unified error handling system
2013-02-22 14:45:39 -05:00