Merge "Fixed how ShellCommand show exceptions." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
725f9cea7f
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user