diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2018-09-17 09:29:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 09:29:04 +0200 |
commit | 35c148d2551bbb65a6d469b44876ba78578397c1 (patch) | |
tree | d206c1ae0771392cb4d4aa8452814178a8ad74d4 /app/import_functions.go | |
parent | 4fb78176100680fd9c22f34aad5338a056106148 (diff) | |
download | chat-35c148d2551bbb65a6d469b44876ba78578397c1.tar.gz chat-35c148d2551bbb65a6d469b44876ba78578397c1.tar.bz2 chat-35c148d2551bbb65a6d469b44876ba78578397c1.zip |
fixing log messages (#9341)
* fixing log messages
* update per review
* Update notification.go
* Update server.go
* Update notification.go
Diffstat (limited to 'app/import_functions.go')
-rw-r--r-- | app/import_functions.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/import_functions.go b/app/import_functions.go index dce84feb5..ff22f23bb 100644 --- a/app/import_functions.go +++ b/app/import_functions.go @@ -491,10 +491,10 @@ func (a *App) ImportUser(data *UserImportData, dryRun bool) *model.AppError { if data.ProfileImage != nil { file, err := os.Open(*data.ProfileImage) if err != nil { - mlog.Error(fmt.Sprint("api.import.import_user.profile_image.error FIXME: NOT FOUND IN TRANSLATIONS FILE", err)) + mlog.Error("Unable to open the profile image.", mlog.Any("err", err)) } if err := a.SetProfileImageFromFile(savedUser.Id, file); err != nil { - mlog.Error(fmt.Sprint("api.import.import_user.profile_image.error FIXME: NOT FOUND IN TRANSLATIONS FILE", err)) + mlog.Error("Unable to set the profile image from a file.", mlog.Any("err", err)) } } |