summaryrefslogtreecommitdiffstats
path: root/models/migrations/v184.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v184.go')
-rw-r--r--models/migrations/v184.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v184.go b/models/migrations/v184.go
index 97bc72d5d9..593a8100a8 100644
--- a/models/migrations/v184.go
+++ b/models/migrations/v184.go
@@ -43,7 +43,7 @@ func renameTaskErrorsToMessage(x *xorm.Engine) error {
}
if err := sess.Sync2(new(Task)); err != nil {
- return fmt.Errorf("error on Sync2: %v", err)
+ return fmt.Errorf("error on Sync2: %w", err)
}
if messageExist {