From 3c19a6b7f26d602b09a79695044d2acbc3676cab Mon Sep 17 00:00:00 2001 From: John Livingston Date: Wed, 1 Dec 2021 14:47:16 +0100 Subject: [PATCH] Fix plugin register when Prosody enabled but not installed (again) --- CHANGELOG.md | 4 ++++ server/main.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ff41716..9b3372de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/server/main.ts b/server/main.ts index c2c87726..a46a188f 100644 --- a/server/main.ts +++ b/server/main.ts @@ -26,7 +26,7 @@ async function register (options: RegisterServerOptions): Promise { 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)) } }