Fix plugin register when Prosody enabled but not installed (again)
This commit is contained in:
parent
01760ad78f
commit
3c19a6b7f2
@ -8,6 +8,10 @@
|
|||||||
* Auto color detection: when using ConverseJS, the plugin tries to guess colors to apply to its theme.
|
* Auto color detection: when using ConverseJS, the plugin tries to guess colors to apply to its theme.
|
||||||
* Builtin Prosody: new settings to choose how long the room's content is archived, and if it should be archived by default.
|
* Builtin Prosody: new settings to choose how long the room's content is archived, and if it should be archived by default.
|
||||||
|
|
||||||
|
### Fixes
|
||||||
|
|
||||||
|
* Fix plugin register when Prosody enabled but not installed (again)
|
||||||
|
|
||||||
### Breaking changes
|
### Breaking changes
|
||||||
|
|
||||||
* If you have some CSS customization for the plugin, it may be broken.
|
* If you have some CSS customization for the plugin, it may be broken.
|
||||||
|
@ -26,7 +26,7 @@ async function register (options: RegisterServerOptions): Promise<any> {
|
|||||||
try {
|
try {
|
||||||
await ensureProsodyRunning(options)
|
await ensureProsodyRunning(options)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
options.peertubeHelpers.logger('Error when launching Prosody: ' + (error as string))
|
options.peertubeHelpers.logger.error('Error when launching Prosody: ' + (error as string))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user