ravibpatel / CrashReporter.NET

Send crash reports of your classic desktop application developed using .NET Framework directly to your mail's inbox with full exception report, stack trace and screenshot.
MIT License
184 stars 74 forks source link

Doesn't handle no internet connection #27

Closed bewster closed 4 years ago

bewster commented 5 years ago

We have a Windows device that can start up without any Internet connection. If an application crashes the dialog is not shown; but application silently closes.

From what I can determine, SendRequestState.GetMacAddress throws an uncaught SocketException due to an unreachable network.

ravibpatel commented 5 years ago

Do have the stack trace? I can determine the point of failure and make send button hidden when that's the case so users can see the dialog and they can save the report to send it via email later on.

bewster commented 5 years ago

I was provided with these:

crash-1

crash-2

They are from 1.5.0 build. Since updating to 1.5.8 I have not seen the UI displayed at all, the application is just terminated, with a WER report created.

ravibpatel commented 4 years ago

I fixed the issue in the latest commit. Can you please try it from here and let me know if it works properly?

bewster commented 4 years ago

I can confirm that the build in your link resolves the issue observed.