logger: add exception type to crash dump
This commit is contained in:
parent
1291780cc8
commit
1530c9a9af
|
@ -65,7 +65,7 @@ namespace SparkleLib {
|
|||
"SparkleShare version: " + SparkleLib.SparkleBackend.Version + n +
|
||||
"Operating system: " + SparkleLib.SparkleBackend.Platform + " " + Environment.OSVersion + n;
|
||||
|
||||
crash_report += n + e.Message + n + e.StackTrace + n;
|
||||
crash_report += e.GetType () + ": " + e.Message + n + e.StackTrace + n;
|
||||
|
||||
if (e.InnerException != null)
|
||||
crash_report += n + e.InnerException.Message + n + e.InnerException.StackTrace + n;
|
||||
|
|
|
@ -368,8 +368,7 @@ namespace SparkleShare {
|
|||
|
||||
public void UpdateContent (string html)
|
||||
{
|
||||
Thread thread = new Thread (
|
||||
new ThreadStart (delegate {
|
||||
new Thread (() => {
|
||||
using (var a = new NSAutoreleasePool ())
|
||||
{
|
||||
string pixmaps_path = "file://" + Path.Combine (NSBundle.MainBundle.ResourcePath, "Pixmaps");
|
||||
|
@ -420,10 +419,8 @@ namespace SparkleShare {
|
|||
this.progress_indicator.Hidden = true;
|
||||
});
|
||||
}
|
||||
}
|
||||
));
|
||||
|
||||
thread.Start ();
|
||||
}).Start ();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue