Skip to content

Commit

Permalink
updated venice console
Browse files Browse the repository at this point in the history
  • Loading branch information
juerg committed Jan 17, 2024
1 parent f10048c commit 5dd2ef1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/resources/com/github/jlangch/venice/venice.venice
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
(println)
(printlnc :error msg)
(println)
(sleep 5000) ;; give the user time to read the error message
(sleep 3000) ;; give the user time to read the error message
(throw (ex :EofException msg)))

(defn invalid-cmd [msg]
Expand Down Expand Up @@ -260,9 +260,7 @@
(apply run-command (split-command cmd))
(display-status-bar)
(catch :EofException ex
(printlnc :error "Terminating shell...")
(sleep 1000)
(throw ex))
(fatal-error-and-exit "Terminating shell..."))
(catch :VncException ex
(printlnc :error (ex-venice-stacktrace ex)))
(catch :java.lang.Exception ex
Expand Down

0 comments on commit 5dd2ef1

Please sign in to comment.