From 6f544f6f5335bc69fa5e5480818ab918121a5d81 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Mon, 18 Dec 2023 08:50:25 -0800 Subject: [PATCH] Remove pocketbase references from instance error messages --- src/services/InstanceService/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/InstanceService/index.ts b/src/services/InstanceService/index.ts index 1f3911cf..f5ce9842 100644 --- a/src/services/InstanceService/index.ts +++ b/src/services/InstanceService/index.ts @@ -308,7 +308,7 @@ export const instanceService = mkSingleton( maintenance: true, }) userInstanceLogger.error( - `Could not launch PocketBase ${instance.version}. Instance has been placed in maintenace mode. Please review your instance logs at https://app.pockethost.io/app/instances/${instance.id} or contact support at https://pockethost.io/support`, + `Could not launch container. Instance has been placed in maintenace mode. Please review your instance logs at https://app.pockethost.io/app/instances/${instance.id} or contact support at https://pockethost.io/support`, ) throw new Error(`Maintenance mode`) } @@ -316,7 +316,7 @@ export const instanceService = mkSingleton( const { pid: _pid, exitCode } = childProcess const pid = _pid() exitCode.then((code) => { - dbg(`PocketBase processes exited with ${code}.`) + dbg(`Processes exited with ${code}.`) if (code !== 0) { shutdownManager.add(async () => { userInstanceLogger.error( @@ -332,7 +332,7 @@ export const instanceService = mkSingleton( }) }) assertTruthy(pid, `Expected PID here but got ${pid}`) - dbg(`PocketBase instance PID: ${pid}`) + dbg(`Instance PID: ${pid}`) systemInstanceLogger.breadcrumb(`pid:${pid}`) shutdownManager.add(async () => {