Skip to content

Conversation

@Hariksh
Copy link

@Hariksh Hariksh commented Dec 26, 2025

What

  • Fix incorrect ValueError usage where a tuple was passed instead of a formatted string when encountering an unknown flavor.
  • This ensures the exception message is clear and correctly raised at runtime.

Screenshot

  • Not applicable (code change only)

Fixes bug(s)

  • Not applicable

Part of

  • Not applicable

@github-project-automation github-project-automation bot moved this to To Discuss & Validate in 📢 Open Food Facts Marketing Dec 26, 2025
@Hariksh Hariksh changed the title Fix ValueError formatting for unknown flavor fix(knowledge-panels): fix ValueError formatting for unknown flavor Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In progress
Status: To Discuss & Validate

Development

Successfully merging this pull request may close these issues.

1 participant