Make this `process.exit(1)` so that we could use this in a script and check for error codes appropriately