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

The service threw an unhandled exception: System.UnhandledExceptionEventArgs #96

Open
KillyMXI opened this issue Jun 23, 2018 · 1 comment

Comments

@KillyMXI
Copy link

KillyMXI commented Jun 23, 2018

This is exactly what I got in my console:

The service threw an unhandled exception: System.UnhandledExceptionEventArgs

e.ToString() haven't done what was expected in this case. From my understanding of the situation, UnhandledExceptionEventArgs can be tricky.
Either it is e.Exception.ToString() that should be written there, or some manually constructed message (I often find it useful to log InnerException right away, if available.)

Console.WriteLine("The service threw an unhandled exception: {0}", e.ToString());

@PeterKottas
Copy link
Owner

Yep you're totally right, I'll fix this once we accumulate a few more issues.

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

2 participants