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