altosui: Print exception stack trace when tracking flights
authorKeith Packard <keithp@keithp.com>
Wed, 17 Oct 2012 00:14:05 +0000 (17:14 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 17 Oct 2012 00:14:05 +0000 (17:14 -0700)
More useful in fixing the problem

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosFlightUI.java

index 533b1951f7c5cfdcb28840cc819d50c333a50e2a..43df705e96add4f6ff98777d586567c0db1dec8e 100644 (file)
@@ -138,7 +138,8 @@ public class AltosFlightUI extends AltosFrame implements AltosFlightDisplay, Alt
                        }
                }
                } catch (Exception e) {
-                       System.out.print("Show exception" + e);
+                       System.out.print("Show exception " + e + "\n");
+                       e.printStackTrace();
                }
        }