Skip to content
This repository was archived by the owner on Nov 24, 2021. It is now read-only.

Commit 2acb1ff

Browse files
committed
MC19 connector: Return non-zero exit code upon an error
1 parent db3c674 commit 2acb1ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/modelingcovid-covidmodel/connector.wl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
the input/output schema used by the unified modelling UI. *)
55

66
(* Exit whenever an error message is raised. *)
7-
messageHandler = If[Last[#], Abort[]] &;
7+
messageHandler = If[Last[#], Exit[1]] &;
88
Internal`AddHandler["Message", messageHandler];
99

1010
(* Command-line arguments: <inputFile> <outputFile> *)

0 commit comments

Comments
 (0)