fix: missing error handling

This commit is contained in:
kolaente 2024-07-17 11:27:49 +02:00
parent 1e42e54db1
commit 744b40e7f7
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

@ -754,6 +754,9 @@ func createTask(s *xorm.Session, t *Task, a web.Auth, updateAssignees bool, setB
var providedBucket *Bucket
if t.BucketID != 0 {
providedBucket, err = getBucketByID(s, t.BucketID)
if err != nil {
return err
}
}
views, err := getViewsForProject(s, t.ProjectID)