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) --- api/context.go | 1 - 1 file changed, 1 deletion(-) (limited to 'api/context.go') diff --git a/api/context.go b/api/context.go index 4f47271e2..34a87e633 100644 --- a/api/context.go +++ b/api/context.go @@ -455,7 +455,6 @@ func IsApiCall(r *http.Request) bool { 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