commit | b8506b3e388e4b568c3495570dce2229b0c439f4 | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Mon Mar 21 16:53:27 2016 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Mon Mar 21 16:53:27 2016 +0000 |
tree | 418528f8fed3331e83752e4c1685d4508e24d7a5 | |
parent | 36d1c799f0cffe95eddf728c660ed33c45a86534 [diff] |
Do not print the error again, as it’s now printed by the pipe to its error stream git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1735998 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java b/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java index 367e6af..77febe8 100644 --- a/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java +++ b/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Shell.java
@@ -301,13 +301,6 @@ } } catch (Exception e) { session.put(Shell.VAR_EXCEPTION, e); - Object loc = session.get(Shell.VAR_LOCATION); - - if (null == loc || !loc.toString().contains(":")) { - loc = "gogo"; - } - System.out.println(loc + ": " + e.getClass().getSimpleName() + ": " - + e.getMessage()); } } catch (UserInterruptException e) {