summaryrefslogtreecommitdiffstats
path: root/models/migrations/v173.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v173.go')
-rw-r--r--models/migrations/v173.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v173.go b/models/migrations/v173.go
index dd4589066d..c1f167e6f6 100644
--- a/models/migrations/v173.go
+++ b/models/migrations/v173.go
@@ -16,7 +16,7 @@ func addTimeIDCommentColumn(x *xorm.Engine) error {
}
if err := x.Sync2(new(Comment)); err != nil {
- return fmt.Errorf("Sync2: %v", err)
+ return fmt.Errorf("Sync2: %w", err)
}
return nil
}