From 16b937389e61017bb4aa7a09d482f305a18849cf Mon Sep 17 00:00:00 2001 From: Nghia Tran Date: Thu, 12 Dec 2024 09:23:53 +0700 Subject: [PATCH] Debug --- processor/src/connector/post-deploy.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/processor/src/connector/post-deploy.ts b/processor/src/connector/post-deploy.ts index 4b3850a..9c655f2 100644 --- a/processor/src/connector/post-deploy.ts +++ b/processor/src/connector/post-deploy.ts @@ -3,6 +3,7 @@ dotenv.config(); import { assertError, assertString } from '../utils/assert.utils'; import { createExtensionAndCustomFields } from '../service/connector.service'; +import { logger } from '../utils/logger.utils'; const CONNECT_APPLICATION_URL_KEY = 'CONNECT_SERVICE_URL'; @@ -11,6 +12,9 @@ async function postDeploy(properties: Map): Promise { assertString(applicationUrl, CONNECT_APPLICATION_URL_KEY); + logger.info('Processor URL: ', applicationUrl); + logger.info('properties', properties); + await createExtensionAndCustomFields(applicationUrl); }