async catch()

in src/base-commands/http.ts [41:49]


  async catch(err: any) {
    if (err.code === 'UNABLE_TO_VERIFY_LEAF_SIGNATURE') {
      this.error('Failed to make http request', { exit: false })
      this.error(err.message, { exit: false })
      this.error('If you are using a self-signed certificate perhaps through using guardian/dev-nginx, set the `NODE_EXTRA_CA_CERTS` environment variable first', { exit: false })
    }

    throw err
  }