mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Warn when failed to migrate from placeholder
This commit is contained in:
parent
b8a8909a8e
commit
33de28ce5d
1 changed files with 4 additions and 0 deletions
|
|
@ -187,6 +187,10 @@ func (m *schema32Migrator) migrateFiles(ctx context.Context) error {
|
|||
if err != nil {
|
||||
return fmt.Errorf("migrating file %s: %w", p, err)
|
||||
}
|
||||
} else {
|
||||
// if we don't reassign from the placeholder, it will fail
|
||||
// so log a warning at least here
|
||||
logger.Warnf("Unable to migrate invalid path: %s", p)
|
||||
}
|
||||
|
||||
lastID = id
|
||||
|
|
|
|||
Loading…
Reference in a new issue