Skip to content

Commit

Permalink
better error message for assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
hrj committed Sep 11, 2016
1 parent 392f212 commit 62b5dcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main/scala/co/uproot/abandon/App.scala
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ object CLIMain {
try {
runAppThrows(args)
} catch {
case a: AssertionError => printErrAndExit("Error: " + a.getMessage)
case a: AssertionError => printErrAndExit("Internal Assertion Error (please report a bug):" + a.getMessage)
case i: InputError => printErrAndExit("Input error: " + i.getMessage)
case i: ConstraintError => printErrAndExit("Constraint Failed: " + i.getMessage)
case e: NotImplementedError => printErrAndExit("Some functionality has not yet been implemented. We intend to implement it eventually. More details:\n" + e.getMessage)
Expand Down

0 comments on commit 62b5dcf

Please sign in to comment.