fix: error reporting

This commit is contained in:
kolaente 2024-10-11 08:54:50 +02:00
parent 35a463c984
commit 9219f7032e
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 0 deletions

View File

@ -336,6 +336,9 @@ func addTaskToFilter(s *xorm.Session, filter *SavedFilter, view *ProjectView, fa
builder.Eq{"task_id": task.ID},
builder.Eq{"project_view_id": view.ID},
)).Exist(&TaskBucket{})
if err != nil {
return nil, nil, err
}
if !taskHasBucketInView {
bucketID, err := getDefaultBucketID(s, view)
if err != nil {