From dd9ad10d705fdbd7fbfa7323e6560b69021a2950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Mon, 8 Jan 2018 19:13:24 +0100 Subject: [PLT-6936] Translate AppError.Message automatically by default (#8063) --- api4/api.go | 1 - 1 file changed, 1 deletion(-) (limited to 'api4/api.go') diff --git a/api4/api.go b/api4/api.go index b9a24cafd..dd5e56d35 100644 --- a/api4/api.go +++ b/api4/api.go @@ -230,7 +230,6 @@ func Init(a *app.App, root *mux.Router, full bool) *API { func Handle404(w http.ResponseWriter, r *http.Request) { err := model.NewAppError("Handle404", "api.context.404.app_error", nil, "", http.StatusNotFound) - err.Translate(utils.T) l4g.Debug("%v: code=404 ip=%v", r.URL.Path, utils.GetIpAddress(r)) -- cgit v1.2.3-1-g7c22