} catch(err) {

    // Error
    fs.writeFileSync(outputFile, JSONB.stringify(getError(err)), { encoding: 'utf8' });
    process.exit(2);