From 3a0c2a77b1a6626699514ddaf8135f4397175443 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 May 2023 13:51:06 +0200 Subject: Enable external plugins to test the PR --- packages/peertube-runner/shared/ipc/ipc-server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/peertube-runner/shared/ipc/ipc-server.ts') diff --git a/packages/peertube-runner/shared/ipc/ipc-server.ts b/packages/peertube-runner/shared/ipc/ipc-server.ts index bc340198b..922dc93e5 100644 --- a/packages/peertube-runner/shared/ipc/ipc-server.ts +++ b/packages/peertube-runner/shared/ipc/ipc-server.ts @@ -27,7 +27,7 @@ export class IPCServer { this.sendReponse(res, { success: true, data }) } catch (err) { - console.error('Cannot execute RPC call', err) + logger.error('Cannot execute RPC call', err) this.sendReponse(res, { success: false, error: err.message }) } }) @@ -56,6 +56,6 @@ export class IPCServer { body: IPCReponse ) { response(body) - .catch(err => console.error('Cannot send response after IPC request', err)) + .catch(err => logger.error('Cannot send response after IPC request', err)) } } -- cgit v1.2.3