fixing log messages (#9341)
* fixing log messages * update per review * Update notification.go * Update server.go * Update notification.go
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4fb7817610
Коммит
35c148d255
@@ -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))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user