Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for an error handler template upon searching #277

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

magahl
Copy link

@magahl magahl commented Jun 17, 2022

The reason for adding this feature is that we use the Typeahead against Azure Search and today they had a brief outage. When the Debounce Timer EllapsedEventHandler have an unhandeled exception the app pool will crash.

You could catch that exception in the SearchMethod, but this small feature will catch the exception and you can have at it what as you will. If you don't provide a template the behaviour should be as before this feature was implemented.

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