mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix panic on import with existing scene (#205)
This commit is contained in:
@@ -443,7 +443,7 @@ func (t *ImportTask) ImportScenes(ctx context.Context) {
|
||||
scene, err := qb.Create(newScene, tx)
|
||||
if err != nil {
|
||||
_ = tx.Rollback()
|
||||
logger.Errorf("[scenes] <%s> failed to create: %s", scene.Checksum, err.Error())
|
||||
logger.Errorf("[scenes] <%s> failed to create: %s", mappingJSON.Checksum, err.Error())
|
||||
return
|
||||
}
|
||||
if scene.ID == 0 {
|
||||
|
||||
Reference in New Issue
Block a user