MozillaReality / fxr-cli

A command-line tool for installing and automating the Firefox Reality virtual-reality browser.
https://www.npmjs.com/package/fxr
Mozilla Public License 2.0
4 stars 3 forks source link

fail with console errors when encountered (do not print `Successfully …`) #26

Open cvan opened 5 years ago

cvan commented 5 years ago

the console should not log that a task has been Successfully completed if there are errors encountered. we'll need to check the chains of Promises, and then we'll decide when to fail hard (i.e., exit via process.exit(1) with an error message), or when to log a warning and keep proceeding with the next action/Promise.

h/t @caseyyee in https://github.com/MozillaReality/fxr-cli/issues/22#issue-341711858:

screenshot of `fxr launch` error