summaryrefslogtreecommitdiff
path: root/altoslib/AltosLib.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-09-09 12:20:08 -0700
committerKeith Packard <keithp@keithp.com>2012-09-09 12:20:08 -0700
commitd65d921b9b2340fa23d3b55b4ae755324d392303 (patch)
tree03ca7666a09818d82cfd6cd17340288c89e951b3 /altoslib/AltosLib.java
parentc5e98d2b226824f2012e5710ac4b1596b9f0bfb1 (diff)
altosui: Catch errors in state value when saving flight logs
Use AltosLib.state_name() instead of directly accessing the state_to_string array so that any invalid state values are caught and replaced with 'invalid' instead of raising an exception. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosLib.java')
0 files changed, 0 insertions, 0 deletions