1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

removed a debug log

This commit is contained in:
Harshil Sharma 2022-11-24 14:31:33 +05:30
parent 733dca08b6
commit eb50a5ae95
2 changed files with 1 additions and 4 deletions

View File

@ -63,7 +63,7 @@ func (a *App) createBoardsCategory(userID, teamID string, existingCategoryBoards
// belong to any category, into this category.
boardMembers, err := a.GetMembersForUser(userID)
if err != nil {
return nil, err
return nil, fmt.Errorf("createBoardsCategory error fetching user's board memberships: %w", err)
}
createdCategoryBoards := &model.CategoryBoards{

View File

@ -264,9 +264,6 @@ func (s *SQLStore) getBoardsForUserAndTeam(db sq.BaseRunner, userID, teamID stri
})
}
q, p, _ := query.ToSql()
s.logger.Error(fmt.Sprintf("%s %v", q, p))
rows, err := query.Query()
if err != nil {
s.logger.Error(`getBoardsForUserAndTeam ERROR`, mlog.Err(err))