1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 09:51:32 +02:00
gitea/modules
zeripath 7d2545d183
Add nicer error handling on template compile errors (#21350)
There are repeated issues reported whereby users are unable to interpret
the template errors. This PR adds some (somewhat complex) error handling
to the panic recovery for template renderering but hopefully makes the
interpretation of the error easier.

Reference #21344

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-10-07 22:02:24 +01:00
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset Move go-licenses to generate and separate generate into a frontend and backend component (#21061) 2022-09-05 14:04:18 +08:00
container
context Tag list should include draft releases with existing tags (#21263) 2022-10-03 20:05:53 +08:00
convert Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
csv
doctor
emoji
eventsource
generate
git Refactor parseTreeEntries, speed up tree list (#21368) 2022-10-08 01:20:53 +08:00
gitgraph
graceful
hcaptcha
highlight Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
hostmatcher
httpcache
httplib
indexer test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
issue/template
json
lfs
log test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
markup Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
mcaptcha
metrics
migration
mirror
nosql
notification Webhook for Wiki changes (#20219) 2022-09-04 20:54:23 +01:00
options Fix and improve incorrect error messages (#21342) 2022-10-06 07:00:54 +01:00
packages Fix empty container layer history and UI (#21251) 2022-09-27 15:03:24 +02:00
paginator
password
pprof
private
process
proxy
proxyprotocol
public
queue test: use T.TempDir to create temporary test directory (#21043) 2022-09-04 16:14:53 +01:00
recaptcha
references
regexplru
repository Remove unnecessary length check for repo's Description & Website (#21194) 2022-09-18 10:35:24 +08:00
secret
session
setting Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2022-10-02 01:26:33 +08:00
sitemap
ssh
storage Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
structs Make external issue tracker regexp configurable via API (#21338) 2022-10-07 20:49:30 +08:00
svg
sync
templates Add nicer error handling on template compile errors (#21350) 2022-10-07 22:02:24 +01:00
test
timeutil
translation Use en-US as fallback when using other default language (#21200) 2022-09-25 02:00:16 +03:00
typesniffer
updatechecker
upload
uri
user
util Save files in local storage as umask (#21198) 2022-09-24 21:04:14 +08:00
validation
watcher
web