Skip to content

Node.js based forum software built for the modern web

fix: #9192, exit after logging error

Barış Soner Uşaklıef16cd2e6f43
diff --git a/src/cli/manage.js b/src/cli/manage.js
index d586484bf6..acce6810c9 100644
--- a/src/cli/manage.js
+++ b/src/cli/manage.js
@@ -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() {