title: Flurry onEvent() not sending in custom uncaught exception handler
body: <p>I'm trying to use Flurry's onEvent method in my custom uncaught exception handler (UEH) but the events aren't showing up and I'm thinking that it might be because by the time it's gotten to the exception handler the flurry session has ended.</p>
  
  <p>I make the call to FlurryAgent.onStartSession in the onStart() method of every activity and calling FlurryAgent.onEndSession() in the onStop() method of every activity.</p>
  
  <p>I'm setting my UEH in my first activity:</p>
  
  <pre><code>Thread.setDefaultUncaughtExceptionHandler(new TopExceptionHandler(this));
  </code></pre>
  
  <p>My UEH (simplified) looks like:</p>
  
  <pre><code>public class TopExceptionHandler implements UncaughtExceptionHandler {
  
      private Thread.UncaughtExceptionHandler defaultUEH;
      private Activity app = null;
      public int numberOfStories = -1;
  
      public TopExceptionHandler(Activity app) {
          this.defaultUEH = Thread.getDefaultUncaughtExceptionHandler();
          this.app = app;
      }
  
      @Override
      public void uncaughtException(Thread t, Throwable e) {
  
          Map&lt;String, String&gt; params = new HashMap&lt;String, String&gt;();
          ExceptionHandlerValues values = ExceptionHandlerValues.getExceptionHandlerValues();
          params.put("model", values.model);
          params.put("androidVersion", values.androidVersion);
          params.put("androidSDK", values.androidSDK);
          params.put("wattpadVersion", values.wattpadVersion);
          params.put("misc", "StoryCount=" + values.storyCount + ";");
          params.put("class", e.getClass().toString());
  
          // Send it off to Flurry as an event
          FlurryAgent.onEvent(ExceptionHandlerValues.EVENT_ID, params);
  
          defaultUEH.uncaughtException(t, e);
      }
  }
  </code></pre>
  
  <p>If the flurry session has ended (which I'm kind of thinking it has) how can I start a new one in my UEH? I've seen other people say they've successfully implemented this solution so I know it's possible, but I can't seem to get it. </p>
  
  <p>Thanks!</p>