diff options
author | Keith Packard <keithp@keithp.com> | 2019-09-25 13:10:36 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2019-09-25 13:10:36 -0700 |
commit | ff68c8855bc6983638db5102ffbc6822b83edb5d (patch) | |
tree | fad5d68814a491cd506f824bcf2bcbc74b8d51d0 /telegps/TeleGPS.java | |
parent | 35351c7db337c4384ef642fbc8b8676f0944686a (diff) |
telegps: Get --graph mode working after recent changes
Was just exiting due to a null pointer exception caused by mis-ordered
setup of the map data. Also using stale API.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPS.java')
-rw-r--r-- | telegps/TeleGPS.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/telegps/TeleGPS.java b/telegps/TeleGPS.java index af6d01b4..5df47202 100644 --- a/telegps/TeleGPS.java +++ b/telegps/TeleGPS.java @@ -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; |