mirror of https://github.com/Chocobozzz/PeerTube
Fix comment
parent
28c6556789
commit
9213df1d79
|
@ -312,12 +312,12 @@ export class PluginManager implements ServerHook {
|
||||||
logger.error('Cannot install plugin %s, removing it...', toInstall, { err: rootErr })
|
logger.error('Cannot install plugin %s, removing it...', toInstall, { err: rootErr })
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// await this.uninstall(npmName)
|
await this.uninstall(npmName)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error('Cannot uninstall plugin %s after failed installation.', toInstall, { err })
|
logger.error('Cannot uninstall plugin %s after failed installation.', toInstall, { err })
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// await removeNpmPlugin(npmName)
|
await removeNpmPlugin(npmName)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error('Cannot remove plugin %s after failed installation.', toInstall, { err })
|
logger.error('Cannot remove plugin %s after failed installation.', toInstall, { err })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue