Skip to content

Commit 2005ba2

Browse files
committed
DroidPlugin: log exception
1 parent 7abec27 commit 2005ba2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

project/Libraries/DroidPlugin/src/com/morgoo/droidplugin/core/PluginProcessManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,12 +411,12 @@ private static void fakeSystemServiceInner(Context hostContext, Context targetCo
411411
} catch (InvocationTargetException e) {
412412
Throwable cause = e.getCause();
413413
if (cause != null) {
414-
cause.printStackTrace();
414+
Log.w(TAG, "Fake system service faile", e);
415415
} else {
416-
e.printStackTrace();
416+
Log.w(TAG, "Fake system service faile", e);
417417
}
418418
} catch (Exception e) {
419-
e.printStackTrace();
419+
Log.w(TAG, "Fake system service faile", e);
420420
}
421421
}
422422
mServiceCache = FieldUtils.readField(originContext, "mServiceCache");

0 commit comments

Comments
 (0)