fix(migration): do not halt the whole migration when copying a background file failed

This commit is contained in:
kolaente 2024-02-19 19:21:06 +01:00
parent e532979101
commit e40a0043d4
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ func createProjectWithEverything(s *xorm.Session, project *models.ProjectWithTas
err = handler.SaveBackgroundFile(s, user, &project.Project, backgroundFile, "", uint64(backgroundFile.Len()))
if err != nil {
return err
log.Errorf("[creating structure] Could not create background for project %d, error was %v", project.ID, err)
}
log.Debugf("[creating structure] Created a background file for project %d", project.ID)