Skip to content

Node.js based forum software built for the modern web

fix: error on `reset -p` if plugin is not active

Julian Lam7f58e3ab0981
diff --git a/src/cli/reset.js b/src/cli/reset.js
index 0e7cfddf1f..1368962246 100644
--- a/src/cli/reset.js
+++ b/src/cli/reset.js
@@ -135,7 +135,6 @@ async function resetPlugin(pluginId) {
} else {
winston.warn('[reset] Plugin `%s` was not active on this forum', pluginId);
winston.info('[reset] No action taken.');
- throw new Error('plugin-not-active');
}
} catch (err) {
winston.error('[reset] Could not disable plugin: ' + pluginId + ' encountered error %s', err.stack);