Fix lint error
This commit is contained in:
parent
ea7492d96b
commit
f636883396
@ -41,8 +41,8 @@ func (app *Application) error_500(w http.ResponseWriter, err error) {
|
|||||||
|
|
||||||
r := renderer{
|
r := renderer{
|
||||||
Filenames: []string{get_filepath("tpl/http_500.tpl")},
|
Filenames: []string{get_filepath("tpl/http_500.tpl")},
|
||||||
TplName: "error-toast",
|
TplName: "error-toast",
|
||||||
Data: struct{
|
Data: struct {
|
||||||
ErrorMsg string
|
ErrorMsg string
|
||||||
}{err.Error()},
|
}{err.Error()},
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user