Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Issue #27: change return code to exception in Main and Dotify (#47)
Browse files Browse the repository at this point in the history
* Issue #27: change return code in Dotify to exception (also in Main)
	modified:   src/main/scala/modbat/mbt/Dotify.scala
	modified:   src/main/scala/modbat/mbt/Main.scala

* Line 45, I replaced return 1 by throw e in Main.scala
  • Loading branch information
AlexandreFournel authored and cyrille-artho committed May 14, 2019
1 parent 7e57d85 commit 7f7e891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/modbat/mbt/Main.scala
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object Main {
} catch {
case e: IllegalArgumentException => {
Log.error(e.getMessage())
return 1
throw e
}
}

Expand Down

0 comments on commit 7f7e891

Please sign in to comment.