Fix migrations, PR suggestions

This commit is contained in:
zandercymatics 2024-04-26 08:07:50 -06:00
parent 2fff3022ea
commit d9408076b1
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
4 changed files with 10 additions and 7 deletions

View file

@ -93,7 +93,7 @@ class PopulateScriptTemplate(ABC):
self.populate_field(updated_object)
to_update.append(updated_object)
except Exception as err:
to_update.append(updated_object)
failed_to_update.append(updated_object)
logger.error(err)
logger.error(f"{TerminalColors.FAIL}" f"Failed to update {updated_object}" f"{TerminalColors.ENDC}")