diff options
author | Corey Hulen <corey@hulen.com> | 2016-01-22 07:47:41 -0600 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-01-22 07:47:41 -0600 |
commit | dd52e3f729a63e4c1001bebbad236258ef880de4 (patch) | |
tree | 7ed896827287515579cb41277710d1e31046b79e /api/export.go | |
parent | 9937e1ead2d75c52101dd0ab04b97c074f87232a (diff) | |
parent | 4ef46db0f68ca1ef31297db465f6f93226e62132 (diff) | |
download | chat-dd52e3f729a63e4c1001bebbad236258ef880de4.tar.gz chat-dd52e3f729a63e4c1001bebbad236258ef880de4.tar.bz2 chat-dd52e3f729a63e4c1001bebbad236258ef880de4.zip |
Merge pull request #1952 from ZBoxApp/PLT-7-go
PLT-7: Refactoring api to use translations (chunk 2)
Diffstat (limited to 'api/export.go')
-rw-r--r-- | api/export.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/export.go b/api/export.go index 77b821147..f2f8f87ab 100644 --- a/api/export.go +++ b/api/export.go @@ -267,7 +267,7 @@ func copyDirToExportWriter(writer ExportWriter, inPath string, outPath string) * } else { fromFile, err := os.Open(inPath + "/" + fileInfo.Name()) if err != nil { - return model.NewAppError("copyDirToExportWriter", "api.export.open.app_error", err.Error()) + return model.NewLocAppError("copyDirToExportWriter", "api.export.open.app_error", nil, err.Error()) } io.Copy(toFile, fromFile) } |