Hey all, sorry for moving slowly on this. Work is killing me right now. But
I'm going to try to merge this and update the library tomorrow.

On Wednesday, November 20, 2013, Patrick Killian wrote:

> In src/com/airlocksoftware/hackernews/activity/SlideoutMenuActivity.java:
>
> > @@ -62,7 +65,25 @@ public void onCreate(Bundle savedState) {
> >  		mUserPrefs = new UserPrefs(this);
> >  		retrieveTheme();
> >  		setWindowBackground();
> > -		BugSenseHandler.initAndStartSession(getApplicationContext(), getString(R.string.bugsense_api_key));
> > +
> > +		// Wrap BugSenseHandler init in try/catch to avoid FC's
> > +		// Incompatible BugSense libraries cause FC's in newer Android versions
> > +		try {
> > +			// Initialize the BugSenseHandler for BugSense error reporting
> > +			BugSenseHandler.initAndStartSession(getApplicationContext(), getString(R.string.bugsense_api_key));
> > +
> > +			Log.d(TAG, "BugSenseHandler initialized successfully");
> > +
> > +		// Fatal exceptions won't be caught, but this is another good measure.
> > +		} catch (Exception e) {
>
> True, but I wasn't confident what Errors could be thrown from the BugSense
> plugin. Even catching the Exception class left a bad taste in my mouth. I
> think it's best if the Errors still get thrown as usual.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/bishopmatthew/HackerNews/pull/34/files#r7804188>
> .
>