Skip to content

Improve error handling for local generation with stderr inclusion - #7

Merged
evilmarty merged 2 commits into
mainfrom
stderrs
Oct 28, 2026
Merged

evilmarty merged 2 commits into
mainfrom
stderrs

Conversation

@evilmarty

Copy link
Copy Markdown
Owner

This pull request enhances error handling for local generation in the apfel and fm providers by including stderr output in error messages. This makes debugging easier by providing more context for failures.

  • Added localGenerationError helper for consistent error wrapping with stderr inclusion.
  • Updated apfel and fm providers to use the new error handling mechanism.
  • Extended test coverage for apfel and fm providers to validate stderr handling.
  • Updated README.md to document the inclusion of stderr in error messages.

- improved error handling in local apfel generation
- added stderr to error messages for better debugging
- unified error wrapping across provider layers
Co-authored-by: evilmarty <44270+evilmarty@users.noreply.github.com>
@evilmarty
evilmarty merged commit ac75cbd into main Oct 28, 2026
2 checks passed
@evilmarty
evilmarty deleted the stderrs branch October 28, 2026 21:31
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