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

Commit 95c4acc8 authored by Shai Barack's avatar Shai Barack
Browse files

Pass exception to log instead of appending it to a string

Flag: EXEMPT refactor
Change-Id: I0ef9de515f2a10d231ad66abc0b642625ed1559d
parent 4db80507
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2607,7 +2607,7 @@ public final class MessageQueue {
                sRemovedFromStack = l.findVarHandle(MessageQueue.MessageNode.class,
                        "mRemovedFromStackValue", boolean.class);
            } catch (Exception e) {
                Log.wtf(TAG_C, "VarHandle lookup failed with exception: " + e);
                Log.wtf(TAG_C, "VarHandle lookup failed", e);
                throw new ExceptionInInitializerError(e);
            }
        }
@@ -2686,7 +2686,7 @@ public final class MessageQueue {
            sMptrRefCount = l.findVarHandle(MessageQueue.class, "mMptrRefCountValue",
                    long.class);
        } catch (Exception e) {
            Log.wtf(TAG_C, "VarHandle lookup failed with exception: " + e);
            Log.wtf(TAG_C, "VarHandle lookup failed", e);
            throw new ExceptionInInitializerError(e);
        }
    }
@@ -2802,7 +2802,7 @@ public final class MessageQueue {
                sCounts = l.findVarHandle(MessageQueue.MessageCounts.class, "mCountsValue",
                        long.class);
            } catch (Exception e) {
                Log.wtf(TAG_C, "VarHandle lookup failed with exception: " + e);
                Log.wtf(TAG_C, "VarHandle lookup failed", e);
                throw new ExceptionInInitializerError(e);
            }
        }