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

Error handling in Examples/Validate.ps1 #20

Open
petervandivier opened this issue Jan 2, 2024 · 0 comments
Open

Error handling in Examples/Validate.ps1 #20

petervandivier opened this issue Jan 2, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@petervandivier
Copy link
Owner

In Examples/Validate.ps1, batches may fail with e.g.

Kusto.Data.Exceptions.KustoDataStreamException: Query execution has resulted in error (0x80DA0006): Query is expired.

If you are not watching the terminal for the the entirety of the run time, this may not be immediately apparent. For in-line error handling it may be prudent to bundle the validate script into a proper function.

Relates to #19

@petervandivier petervandivier added bug Something isn't working enhancement New feature or request labels Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant