Merge pull request #6907 from thingsboard/fix_big_savedUser_error

[3.4] Fix big saved user error
This commit is contained in:
Andrew Shvayka 2022-07-08 14:47:42 +03:00 committed by GitHub
commit ad4b870945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ public class DefaultUserService extends AbstractTbEntityService implements TbUse
savedUser, user, actionType, true, null);
return savedUser;
} catch (Exception e) {
notificationEntityService.logEntityAction(tenantId, emptyId(EntityType.USER), user, actionType, user, e);
notificationEntityService.logEntityAction(tenantId, emptyId(EntityType.USER), tbUser, actionType, user, e);
throw e;
}
}