Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc51eedd authored by Narayan Kamath's avatar Narayan Kamath Committed by Android (Google) Code Review
Browse files

Merge "Binder: Log details of pending exception." into oc-dev

parents fe1bddfb ccc9fad9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -193,10 +193,10 @@ static void report_exception(JNIEnv* env, jthrowable excep, const char* msg)
    if (env->IsInstanceOf(excep, gErrorOffsets.mClass)) {
        /*
         * It's an Error: Reraise the exception and ask the runtime to abort.
         * This will dump the pending exception as well as all thread traces
         * to the log.
         */
        env->Throw(excep);
        ALOGE("java.lang.Error thrown during binder transaction (stack trace follows) : ");
        env->ExceptionDescribe();
        env->FatalError("java.lang.Error thrown during binder transaction.");
    }