Skip to content

Commit 239f362

Browse files
committed
generete error code when error in -to_tex
1 parent 861b32e commit 239f362

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main/CLI.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ let actions () = [
180180
(match exn with
181181
| Failure s | Sys_error s ->
182182
Logs.err (fun m -> m "syncweb -to_tex: %s" s);
183-
()
183+
raise (Exit.ExitCode 2)
184184
| exn -> raise exn
185185
)
186186
);

0 commit comments

Comments
 (0)