Skip to content

improve error handling by the generator#142

Merged
oxe-i merged 4 commits intoexercism:mainfrom
oxe-i:improveErrorHandlingOnGenerator
Feb 16, 2026
Merged

improve error handling by the generator#142
oxe-i merged 4 commits intoexercism:mainfrom
oxe-i:improveErrorHandlingOnGenerator

Conversation

@oxe-i
Copy link
Contributor

@oxe-i oxe-i commented Feb 16, 2026

  1. Added many extra messages, detailing the steps of what the generator found/not found, what it is doing and if it had any error or a successful outcome. Whenever possible, the generator continues execution, only reporting the problem to the user. For example, the absence of extra cases is reported, as is the presence of invalid JSON, but execution continues with canonical data. Execution stops only if both canonical data/toml and extra cases weren't found/couldn't be parsed.
  2. If user tries to generate a test file and no configlet is found, the generator now fetches configlet first and then retries instead of throwing an error right away.

@oxe-i oxe-i merged commit 8fd99e1 into exercism:main Feb 16, 2026
4 checks passed
@oxe-i oxe-i deleted the improveErrorHandlingOnGenerator branch February 16, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants