Merge "Fixed how ShellCommand show exceptions." into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-05-29 22:58:03 +00:00
committed by Android (Google) Code Review

View File

@@ -104,7 +104,7 @@ public abstract class BasicShellCommandHandler {
// go.
PrintWriter eout = getErrPrintWriter();
eout.println();
eout.println("Exception occurred while executing: " + e.getMessage());
eout.println("Exception occurred while executing '" + mCmd + "':");
e.printStackTrace(eout);
} finally {
if (DEBUG) Log.d(TAG, "Flushing output streams on " + mTarget);