Created
August 31, 2012 11:58
-
-
Save PanosJee/3551885 to your computer and use it in GitHub Desktop.
Tracking handled exceptions with Bugsense Android
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
try{ | |
String a = null; | |
a.toString(); | |
}catch(Exception ex) { | |
ex.printStackTrace(); // in case you want to see the stacktrace in your log cat output | |
BugSenseHandler.sendException(ex); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment