fix: missing error handling
This commit is contained in:
parent
1e42e54db1
commit
744b40e7f7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user