adding debug log when executing query (#23559)

Этот коммит содержится в:
Ben Cooke
2023-05-31 14:11:21 -04:00
коммит произвёл GitHub
родитель 74beab5ad5
Коммит e74b73e8ee

Просмотреть файл

@@ -324,6 +324,7 @@ func (ps *PlatformService) LimitedClientConfig() map[string]string {
func (ps *PlatformService) IsFirstUserAccount() bool {
if ps.fetchUserCountForFirstUserAccountCheck.Load() {
ps.logger.Debug("Fetching user count for first user account check")
count, err := ps.Store.User().Count(model.UserCountOptions{IncludeDeleted: true})
if err != nil {
return false