Merge "Fixed how ShellCommand show exceptions." into rvc-dev am: 725f9cea7f

Change-Id: Ie0cdf3140be6c0ca170f3f23fdfab7afd08fa48e
This commit is contained in:
TreeHugger Robot
2020-05-29 23:01:13 +00:00
committed by Automerger Merge Worker

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);