Fix plugin register when Prosody enabled but not installed (again)

This commit is contained in:
John Livingston 2021-12-01 14:47:16 +01:00
parent 01760ad78f
commit 3c19a6b7f2
No known key found for this signature in database
GPG Key ID: B17B5640CE66CDBC
2 changed files with 5 additions and 1 deletions

View File

@ -8,6 +8,10 @@
* 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.
### Fixes
* Fix plugin register when Prosody enabled but not installed (again)
### Breaking changes
* If you have some CSS customization for the plugin, it may be broken.

View File

@ -26,7 +26,7 @@ async function register (options: RegisterServerOptions): Promise<any> {
try {
await ensureProsodyRunning(options)
} catch (error) {
options.peertubeHelpers.logger('Error when launching Prosody: ' + (error as string))
options.peertubeHelpers.logger.error('Error when launching Prosody: ' + (error as string))
}
}