telegps: Get --graph mode working after recent changes
[fw/altos] / telegps / TeleGPS.java
index af6d01b427126c1071a3d4c95beee4d536011401..5df47202067e805c6467af2d40ada4628c725fd8 100644 (file)
@@ -650,7 +650,10 @@ public class TeleGPS
                }
                try {
                        new TeleGPSGraphUI(set, file);
-               } catch (Exception e) {
+               } catch (IOException e) {
+                       System.out.printf("Exception %s\n", e.toString());
+               } catch (InterruptedException e) {
+                       System.out.printf("Exception %s\n", e.toString());
                        return false;
                }
                return true;