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 533b195..43df705 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();
                }
        }