fix: #9192, exit after logging error

v1.18.x
Barış Soner Uşaklı 4 years ago
parent 69419571a9
commit ef16cd2e6f

@ -41,11 +41,10 @@ async function activate(plugin) {
type: 'plugin-activate',
text: plugin,
});
process.exit(0);
} catch (err) {
winston.error('An error occurred during plugin activation\n' + err.stack);
throw err;
}
process.exit(0);
}
async function listPlugins() {

Loading…
Cancel
Save