Skip to content

Can I swallow exceptions? #463

@arteny

Description

@arteny

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions