We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd48773 commit 54f684dCopy full SHA for 54f684d
models/migrations/v39.go
@@ -70,7 +70,10 @@ func addTimetracking(x *xorm.Engine) error {
70
}
71
//Updating existing issue units
72
units := make([]*RepoUnit, 0, 100)
73
- x.Where("`type` = ?", V16UnitTypeIssues).Find(units)
+ err := x.Where("`type` = ?", V16UnitTypeIssues).Find(units)
74
+ if err != nil {
75
+ return fmt.Errorf("Query repo units: %v", err)
76
+ }
77
for _, unit := range units {
78
if unit.Config != nil {
79
continue
0 commit comments