mirror of
https://github.com/stashapp/stash.git
synced 2025-12-15 04:44:28 +01:00
Fix panic on import with existing scene (#205)
This commit is contained in:
parent
5c0ec39db1
commit
9e8d7bb26f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue