Created
January 2, 2012 13:45
BugSense Custom data, Handled exceptions
This file contains 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 { | |
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