1
0
Fork 0

Fix comment

This commit is contained in:
Chocobozzz 2021-12-03 10:49:36 +01:00
parent 28c6556789
commit 9213df1d79
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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 })
}