Skip to content

Commit

Permalink
fix schematic migration (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
uberswe authored Feb 14, 2025
1 parent 58fced6 commit 8c5f6ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/migrate/schematics.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ func migrateSchematics(app *pocketbase.PocketBase, gormdb *gorm.DB, userOldId ma
app.Logger().Error(
fmt.Sprintf("Could not convert to jpg: %v", err),
)
panic("Fatal error, stop migration")
log.Printf("ERROR for %s - %d: %v\n", s.PostName, s.ID, err)
continue
}

err = app.Save(record)
Expand Down

0 comments on commit 8c5f6ce

Please sign in to comment.