Error handling
Configuration loading has some potentionally confusing error handling. By default, it will use the "pretty" assertion mode. This mode will call process.exit(1) instead of throwing errors. That means that you aren't able to catch it with a try-catch block.
The modes
prettyLog the errors in pretty formatting and colors, then exit the process.plainLog the errors in plain text, then exit the process.throwthrow the errors where they occur.