Skip to content

Commit 725f9ce

Browse files
TreeHugger RobotAndroid (Google) Code Review
authored andcommitted
Merge "Fixed how ShellCommand show exceptions." into rvc-dev
2 parents 41b850d + 283e3c3 commit 725f9ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/java/android/os/BasicShellCommandHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescri
104104
// go.
105105
PrintWriter eout = getErrPrintWriter();
106106
eout.println();
107-
eout.println("Exception occurred while executing: " + e.getMessage());
107+
eout.println("Exception occurred while executing '" + mCmd + "':");
108108
e.printStackTrace(eout);
109109
} finally {
110110
if (DEBUG) Log.d(TAG, "Flushing output streams on " + mTarget);

0 commit comments

Comments
 (0)