Skip to content

Commit

Permalink
[gui] handle settings error gracefully
Browse files Browse the repository at this point in the history
closes gh-135
  • Loading branch information
hrj committed Feb 15, 2017
1 parent f5fd0a7 commit f87fdce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/main/scala/co/uproot/abandon/UI.scala
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ object AbandonUI extends JFXApp {
} catch {
case Help(_) =>
case Version =>
case s: SettingsError => handleError("Settings Error: " + s.getMessage)
case a: AssertionError => handleError("Error: " + a.getMessage)
case i: InputError => handleError("Input error: " + i.getMessage)
case i: ConstraintError => handleError("Constraint Failed: " + i.getMessage)
Expand Down

0 comments on commit f87fdce

Please sign in to comment.