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

GlobalCrashHandler doesn't give stack trace/location #102

Open
ghost opened this issue Feb 15, 2017 · 1 comment
Open

GlobalCrashHandler doesn't give stack trace/location #102

ghost opened this issue Feb 15, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 15, 2017

I've called GlobalCrashHandler.Configure();, and was expecting to see full details of unhandled exceptions logged - including the stack trace of where the Exception was raised. However, all I'm getting is the Exception message.

Is this a known problem, or do I need to do something different/more?

@chibicitiberiu
Copy link

The GlobalCrashHandler uses the Application.UnhandledException event, which provides very limited information. From the documentation:

A notable limitation is that the UnhandledException event arguments don’t contain as much detail as the original exception as propagated from app code. Whenever possible, if the app requires specific processing of a certain exception, it’s always better to catch the exception as it propagates, because more detail will be available then.

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
@chibicitiberiu and others