diff options
Diffstat (limited to 'utils/file_backend_local.go')
-rw-r--r-- | utils/file_backend_local.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/file_backend_local.go b/utils/file_backend_local.go index 37bca7987..a2d311f83 100644 --- a/utils/file_backend_local.go +++ b/utils/file_backend_local.go @@ -26,7 +26,7 @@ type LocalFileBackend struct { func (b *LocalFileBackend) TestConnection() *model.AppError { f := bytes.NewReader([]byte("testingwrite")) if _, err := writeFileLocally(f, filepath.Join(b.directory, TEST_FILE_PATH)); err != nil { - return model.NewAppError("TestFileConnection", "Don't have permissions to write to local path specified or other error.", nil, err.Error(), http.StatusInternalServerError) + return model.NewAppError("TestFileConnection", "api.file.test_connection.local.connection.app_error", nil, err.Error(), http.StatusInternalServerError) } os.Remove(filepath.Join(b.directory, TEST_FILE_PATH)) mlog.Info("Able to write files to local storage.") |