Closed xvello closed 1 year ago
Right now, the exception is swallowed and the users need to guess what is invalid in their config.
This PR concatenates err.message as I could not get the new throw new Error('message', { cause: err }) syntax to work on node 18
err.message
throw new Error('message', { cause: err })
Right now, the exception is swallowed and the users need to guess what is invalid in their config.
This PR concatenates
err.message
as I could not get the newthrow new Error('message', { cause: err })
syntax to work on node 18