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

Consider adding error handling to the samples #59

Open
vicancy opened this issue Oct 19, 2018 · 0 comments
Open

Consider adding error handling to the samples #59

vicancy opened this issue Oct 19, 2018 · 0 comments

Comments

@vicancy
Copy link
Contributor

vicancy commented Oct 19, 2018

Currently we have something like:

public async Task MyRestCallHandler{
var result = await CalcResult();
await hub.Clients.SendAsync(...);
return result;
}

And if I don't wrap call to the hub into try-catch, the client gets 500 error, although the operation was generally ok. Sometimes client is an automated test which fails and gives a false alarm. All samples I find do not care for exceptions handling when contacting signalr.

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