private static void sendCrashes(final WeakReference<Context> weakContext,final boolean ignoreDefaultHandler){
  saveConfirmedStackTraces(weakContext);
  registerHandler(weakContext,ignoreDefaultHandler);
  Context ctx=weakContext.get();
  if (ctx != null && !Util.isConnectedToNetwork(ctx)) {
    return;
  }
  submitStackTraces(weakContext);
}

private static void sendCrashes ( final WeakReference < Context > weakContext , final boolean ignoreDefaultHandler ) { saveConfirmedStackTraces ( weakContext ) ; registerHandler ( weakContext , ignoreDefaultHandler ) ; Context ctx = weakContext . get ( ) ; if ( ctx != null && ! Util . isConnectedToNetwork ( ctx ) ) { return ; } submitStackTraces ( weakContext ) ; }
starts thread to send crashes to artisan , then registers the exception handler .
