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

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