Skip to content

Instantly share code, notes, and snippets.

@jonromero
Created January 2, 2012 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonromero/1550512 to your computer and use it in GitHub Desktop.
Save jonromero/1550512 to your computer and use it in GitHub Desktop.
BugSense handled exceptions
try {
// your code
int a = 1/0; // this will raise an exception
} catch (Exception e) {
BugSenseHandler.log(“YOUR_TAG”, e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment