JAL-3608 ex stacktraces now go to Cache.log.debug
[jalview.git] / src / jalview / bin / Jalview.java
index 2511265..f7fdece 100755 (executable)
@@ -815,7 +815,7 @@ public class Jalview
     } catch (Exception ex)
     {
       Cache.log.error("Unexpected Look and Feel Exception");
-      ex.printStackTrace();
+      Cache.log.debug(Cache.getStackTraceString(ex));
     }
     return set;
   }
@@ -830,7 +830,7 @@ public class Jalview
     } catch (Exception ex)
     {
       Cache.log.error("Unexpected Look and Feel Exception");
-      ex.printStackTrace();
+      Cache.log.debug(Cache.getStackTraceString(ex));
     }
     return set;
   }
@@ -857,7 +857,7 @@ public class Jalview
     } catch (Exception ex)
     {
       Cache.log.error("Unexpected Look and Feel Exception");
-      ex.printStackTrace();
+      Cache.log.debug(Cache.getStackTraceString(ex));
     }
     return set;
   }