mirror of
https://github.com/documize/community.git
synced 2025-08-08 06:55:28 +02:00
Chamado referente BUG#1234 para correção de mensagem de erro
This commit is contained in:
parent
247a2b2c03
commit
421aeb12e3
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func (h *Handler) EmberHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
content, _, err := asset.FetchStatic(h.Runtime.Assets, filename)
|
content, _, err := asset.FetchStatic(h.Runtime.Assets, filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
http.Error(w, err.Error(), http.StatusInternalServerError)
|
http.Error(w, err.Error(), http.StatusInternalServerError)
|
||||||
return
|
return "ERRO"
|
||||||
}
|
}
|
||||||
|
|
||||||
emberView := template.Must(template.New(filename).Parse(string(content)))
|
emberView := template.Must(template.New(filename).Parse(string(content)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue