aboutsummaryrefslogtreecommitdiff
path: root/internal/db/backup.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/backup.go')
-rw-r--r--internal/db/backup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/backup.go b/internal/db/backup.go
index 2f76bb04..f4dec721 100644
--- a/internal/db/backup.go
+++ b/internal/db/backup.go
@@ -89,7 +89,7 @@ func dumpTable(db *gorm.DB, table interface{}, w io.Writer) error {
return errors.Wrap(err, "encode JSON")
}
}
- return nil
+ return rows.Err()
}
func dumpLegacyTables(dirPath string, verbose bool) error {