mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
chore: improve error reporting on instance startup
This commit is contained in:
parent
c2b268362c
commit
f749e7b9a3
@ -350,7 +350,10 @@ export const instanceService = mkSingleton(
|
||||
healthyGuard()
|
||||
await updateInstanceStatus(instance.id, InstanceStatus.Running)
|
||||
})().catch((e) => {
|
||||
warn(`Instance failed to start with ${e}`)
|
||||
warn(
|
||||
`Instance failed to start with ${e}`,
|
||||
(e as ClientResponseError).originalError?.message,
|
||||
)
|
||||
_safeShutdown(e).catch(error)
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user