Skip to content

Conversation

@buergi
Copy link

@buergi buergi commented Dec 21, 2025

Forwarded error messages by RecipeExportSerializer to a proper exception, this way errors during importing via the Default (Tandoor) integration don't look like this

ERROR 
'NoneType' object has no attribute 'keywords'
--------------------
-------------------- 
ERROR 
'NoneType' object has no attribute 'keywords'
--------------------
Imported 0 recipes.

but like this

-------------------- 
ERROR IMPORTING 1.zip
description: Ensure This Field Has No More Than 512 Characters.
--------------------
-------------------- 
ERROR IMPORTING 264.zip
keywords[1].name: Ensure This Field Has No More Than 64 Characters.
--------------------
Imported 0 recipes.

Could be improved even further but I consider it is quite an improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant