Skip to content

refactor(ddgs): improve engine selection and error handling#456

Merged
deedy5 merged 1 commit into
mainfrom
dev
May 3, 2026
Merged

refactor(ddgs): improve engine selection and error handling#456
deedy5 merged 1 commit into
mainfrom
dev

Conversation

@deedy5

@deedy5 deedy5 commented May 3, 2026

Copy link
Copy Markdown
Owner

Replace the try-except block with a more robust mechanism for validating engine keys. This change ensures that invalid or disabled engines are gracefully handled by logging a warning with the specific invalid keys instead of raising a KeyError, and provides a fallback to 'auto' if no valid engine instances can be initialized.

Replace the try-except block with a more robust mechanism for validating
engine keys. This change ensures that invalid or disabled engines are
gracefully handled by logging a warning with the specific invalid keys
instead of raising a KeyError, and provides a fallback to 'auto' if no
valid engine instances can be initialized.
@deedy5 deedy5 merged commit 9d21fff into main May 3, 2026
12 checks passed
@deedy5 deedy5 deleted the dev branch May 3, 2026 19:36
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.

1 participant