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

Can I swallow exceptions? #463

Open
arteny opened this issue Jan 3, 2023 · 0 comments
Open

Can I swallow exceptions? #463

arteny opened this issue Jan 3, 2023 · 0 comments

Comments

@arteny
Copy link

arteny commented Jan 3, 2023

Exceptions are not swallowed, even if is mentioned something about it in the description.
Also, I created an empty SetException method, but it is still not swallowed:

public static void SetException(Exception _) { }
Also, it is strange behavior when an exception happened in this code:

while (true)
			{
				await RunRequest();
				await Task.Delay(TimeSpan.FromMinutes(.6));
			}

when the exception happens in RunRequest, Task.Delay still is executing, but the loop is interrupted after.

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

No branches or pull requests

1 participant