Open
Description
This is what I get when no server is running
❯ quarto call engine julia status
ERROR: ConnectionRefused: Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. (os error 10061)
Stack trace:
at async Object.connect (ext:deno_net/01_net.js:640:11)
at async getReadyServerConnection (file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:78051:16)
at async _Command.logStatus [as actionHandler] (file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:78366:16)
at async _Command.execute (file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:9833:7)
at async _Command.parseCommand (file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:9710:14)
at async quarto (file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:170932:5)
at async file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:170960:5
at async file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:170815:14
at async mainRunner (file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:170817:5)
at async file:///C:/Users/chris/scoop/apps/quarto-prerelease/current/bin/quarto.js:170953:3
I am thinking that status should return some nicer outputs instead of an error. I used this command to check that the server was indeed closed.
cc @jkrumbiegel what do you think ?