X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=src%2Ffoundation%2Fapi%2Frevel%2Ftemplates%2Ferrors%2F500.txt;fp=src%2Ffoundation%2Fapi%2Frevel%2Ftemplates%2Ferrors%2F500.txt;h=dde13f4a6798acc8e6b5ab6fe8b0c084e04575be;hb=1d1ee6961c93781e1187d8c7faa868da6b2f01f4;hp=0000000000000000000000000000000000000000;hpb=56dd5e0f2164b37b40ac1daa188ccc618b4cbd19;p=iec.git diff --git a/src/foundation/api/revel/templates/errors/500.txt b/src/foundation/api/revel/templates/errors/500.txt new file mode 100644 index 0000000..dde13f4 --- /dev/null +++ b/src/foundation/api/revel/templates/errors/500.txt @@ -0,0 +1,15 @@ +{{.Error.Title}} +{{.Error.Description}} + +{{if eq .RunMode "dev"}} +{{with .Error}} +{{if .Path}} +---------- +In {{.Path}} {{if .Line}}(around line {{.Line}}){{end}} + +{{range .ContextSource}} +{{if .IsError}}>{{else}} {{end}} {{.Line}}: {{.Source}}{{end}} + +{{end}} +{{end}} +{{end}}