Skip to content

Instantly share code, notes, and snippets.

@jonromero
Created January 2, 2012 13:45
BugSense Custom data, Handled exceptions
try {
throw new RuntimeException("Logging the event");
} catch (Exception e){
Map<String, String> extraData = new HashMap<String,String>();
extraData.put("your_key", "your_value");
// example: extraData.put("email", "demo@this_is_a_demo.com");
BugSenseHandler.log("TEST_TAG", extraData, e);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment