Created
November 23, 2012 14:41
-
-
Save PanosJee/4135906 to your computer and use it in GitHub Desktop.
Handled JS exception
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 { | |
rotateScreen(); | |
} catch ( error ) { | |
bugsense.notify( error, { rotation: 'not supported' } ) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This does not seem to work because the custom data object just gets saved as "[Object Object]" when BugSense tries to save it as a string.