mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-10 17:34:07 +02:00
Tweak exception handling in Reporter (use Environment.FailFast and change log button title)
This commit is contained in:
parent
8abf4364c6
commit
826f1aba7a
@ -46,7 +46,7 @@ public void HandleException(string caption, string message, bool canIgnore, Exce
|
||||
Location = new Point(12, 12),
|
||||
Margin = new Padding(0, 0, 48, 0),
|
||||
Size = new Size(88, 26),
|
||||
Text = "Open Log File",
|
||||
Text = "Show Error Log",
|
||||
UseVisualStyleBackColor = true
|
||||
};
|
||||
|
||||
@ -64,7 +64,7 @@ public void HandleException(string caption, string message, bool canIgnore, Exce
|
||||
}
|
||||
}
|
||||
|
||||
Environment.Exit(1);
|
||||
Environment.FailFast(message, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user