Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix comment

Chocobozzz9213df1d79f9
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts
index 8add72a856..6c2f4764e4 100644
--- a/server/lib/plugins/plugin-manager.ts
+++ b/server/lib/plugins/plugin-manager.ts
@@ -312,12 +312,12 @@ export class PluginManager implements ServerHook {
logger.error('Cannot install plugin %s, removing it...', toInstall, { err: rootErr })
try {
- // await this.uninstall(npmName)
+ await this.uninstall(npmName)
} catch (err) {
logger.error('Cannot uninstall plugin %s after failed installation.', toInstall, { err })
try {
- // await removeNpmPlugin(npmName)
+ await removeNpmPlugin(npmName)
} catch (err) {
logger.error('Cannot remove plugin %s after failed installation.', toInstall, { err })
}