diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-01-08 19:13:24 +0100 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-01-08 13:13:24 -0500 |
commit | dd9ad10d705fdbd7fbfa7323e6560b69021a2950 (patch) | |
tree | 4064e05fa746abae33fc7c6939fcdef2be7317d2 /api | |
parent | 591ef9f352efd98a85e6d04c0c9072c4c2987527 (diff) | |
download | chat-dd9ad10d705fdbd7fbfa7323e6560b69021a2950.tar.gz chat-dd9ad10d705fdbd7fbfa7323e6560b69021a2950.tar.bz2 chat-dd9ad10d705fdbd7fbfa7323e6560b69021a2950.zip |
[PLT-6936] Translate AppError.Message automatically by default (#8063)
Diffstat (limited to 'api')
-rw-r--r-- | api/context.go | 1 |
1 files changed, 0 insertions, 1 deletions
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)) |