Skip to content

Instantly share code, notes, and snippets.

@PanosJee
Created November 23, 2012 14:41
Show Gist options
  • Save PanosJee/4135906 to your computer and use it in GitHub Desktop.
Save PanosJee/4135906 to your computer and use it in GitHub Desktop.
Handled JS exception
try {
rotateScreen();
} catch ( error ) {
bugsense.notify( error, { rotation: 'not supported' } )
};
@martinkorner
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment