From 29ea08a04e493139b86f70c420a639f427af840c Mon Sep 17 00:00:00 2001 From: silvicir <127971996+silvicir@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:56:19 +0200 Subject: [PATCH] update applicationinsights setting --- apps/io-wallet-user-func/src/infra/azure/appinsights/start.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/io-wallet-user-func/src/infra/azure/appinsights/start.ts b/apps/io-wallet-user-func/src/infra/azure/appinsights/start.ts index 047fd2bd..bcb280b0 100644 --- a/apps/io-wallet-user-func/src/infra/azure/appinsights/start.ts +++ b/apps/io-wallet-user-func/src/infra/azure/appinsights/start.ts @@ -1,6 +1,8 @@ import * as ai from "applicationinsights"; ai.setup(process.env["AppInsightsConnectionString"]) + .setAutoCollectRequests(true) + .setAutoCollectExceptions(true) .setUseDiskRetryCaching(true) .start();