mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-28 05:05:12 -05:00
fix: Paprika Migration Error (#2834)
* made migration more fault tolerant * added edgecase for recipes with no ings/instructions * keep log for debugging --------- Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
@@ -209,7 +209,11 @@ class BaseMigrator(BaseService):
|
||||
continue
|
||||
|
||||
if alias.func:
|
||||
prop_value = alias.func(prop_value)
|
||||
try:
|
||||
prop_value = alias.func(prop_value)
|
||||
except Exception as e:
|
||||
self.logger.exception(e)
|
||||
continue
|
||||
|
||||
recipe_dict[alias.key] = prop_value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user