felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r1772856 - /felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
Date Tue, 06 Dec 2016 10:10:16 GMT
Author: gnodet
Date: Tue Dec  6 10:10:16 2016
New Revision: 1772856

URL: http://svn.apache.org/viewvc?rev=1772856&view=rev
Log:
[FELIX-5441] [gogo] Do not print stack traces when inspection can not access fields

Modified:
    felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java

Modified: felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java?rev=1772856&r1=1772855&r2=1772856&view=diff
==============================================================================
--- felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
(original)
+++ felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandSessionImpl.java
Tue Dec  6 10:10:16 2016
@@ -446,13 +446,9 @@ public class CommandSessionImpl implemen
                     f.format(COLUMN, name, format(value, Converter.LINE, this));
                 }
             }
-            catch (IllegalAccessException e)
-            {
-                // Ignore
-            }
             catch (Exception e)
             {
-                e.printStackTrace();
+                // Ignore
             }
         }
         if (found)



Mime
View raw message