fix: Check sentry
This commit is contained in:
parent
16a5aeb1ba
commit
a1a436300d
1 changed files with 2 additions and 1 deletions
|
|
@ -12,7 +12,8 @@ export const get: RequestHandler = async (event) => {
|
|||
try {
|
||||
const destination = await db.getDestination({ id, teamId });
|
||||
const settings = await db.listSettings();
|
||||
const state = await checkContainer(destination.engine, 'coolify-haproxy');
|
||||
const state =
|
||||
destination?.engine && (await checkContainer(destination.engine, 'coolify-haproxy'));
|
||||
return {
|
||||
status: 200,
|
||||
body: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue