Created
October 30, 2012 15:10
-
-
Save PanosJee/3980791 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check is a task if task is faulted and log task exception if it failed | |
Task t = new Task(() => | |
{ | |
int x = 5; | |
int y = 0; | |
int z = x / y; | |
}); | |
t.Start(); | |
BugSenseHandler.CheckTaskFault("mathtask", t); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment