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/peertube-runner.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/peertube-runner/peertube-runner.ts') diff --git a/packages/peertube-runner/peertube-runner.ts b/packages/peertube-runner/peertube-runner.ts index 6bfd9ac0f..f02526ef9 100644 --- a/packages/peertube-runner/peertube-runner.ts +++ b/packages/peertube-runner/peertube-runner.ts @@ -26,7 +26,7 @@ program.command('server') try { await RunnerServer.Instance.run() } catch (err) { - console.error('Cannot run PeerTube runner as server mode', err) + logger.error('Cannot run PeerTube runner as server mode', err) process.exit(-1) } }) @@ -41,7 +41,7 @@ program.command('register') try { await registerRunner(options) } catch (err) { - console.error('Cannot register this PeerTube runner.', err) + logger.error('Cannot register this PeerTube runner.', err) process.exit(-1) } }) @@ -53,7 +53,7 @@ program.command('unregister') try { await unregisterRunner(options) } catch (err) { - console.error('Cannot unregister this PeerTube runner.', err) + logger.error('Cannot unregister this PeerTube runner.', err) process.exit(-1) } }) @@ -64,7 +64,7 @@ program.command('list-registered') try { await listRegistered() } catch (err) { - console.error('Cannot list registered PeerTube instances.', err) + logger.error('Cannot list registered PeerTube instances.', err) process.exit(-1) } }) -- cgit v1.2.3