summaryrefslogtreecommitdiffstats
path: root/api4/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/api.go')
-rw-r--r--api4/api.go1
1 files changed, 0 insertions, 1 deletions
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))