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

Change-Id: Idab79fe1b73b5df4c076fa8e8a73c26d789dd71c
This commit is contained in:
TreeHugger Robot
2020-05-29 23:13:11 +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);