Bug 1340582 - fix exception logging. r=jchen
authorJohn Lin <jolin@mozilla.com>
Thu, 23 Feb 2017 11:08:48 +0800
changeset 373478 0a33bae98aee8fec29505ebc66d186e9b7331462
parent 373477 a8b504c39f6a99440f23522d6b7823342d21a65b
child 373479 6e4aa11ecb4d6873c113abf48f0694c9da8150d1
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjchen
bugs1340582
milestone54.0a1
Bug 1340582 - fix exception logging. r=jchen MozReview-Commit-ID: 2PnTCeFAW4e
mobile/android/base/java/org/mozilla/gecko/media/CodecProxy.java
--- a/mobile/android/base/java/org/mozilla/gecko/media/CodecProxy.java
+++ b/mobile/android/base/java/org/mozilla/gecko/media/CodecProxy.java
@@ -175,18 +175,17 @@ public final class CodecProxy {
             if (sample == null) {
                 return false;
             }
             mRemote.queueInput(sample);
             sample.dispose();
         } catch (RemoteException | IOException e) {
             Log.e(LOGTAG, "fail to input sample: size=" + info.size +
                     ", pts=" + info.presentationTimeUs +
-                    ", flags=" + Integer.toHexString(info.flags) +
-                    ", e=" + e);
+                    ", flags=" + Integer.toHexString(info.flags), e);
             return false;
         }
 
         return true;
     }
 
     private Sample processInput(ByteBuffer bytes, BufferInfo info, CryptoInfo cryptoInfo)
             throws RemoteException, IOException {