diff --git a/src/modules/core/githubActions/dispatchWorkflow.ts b/src/modules/core/githubActions/dispatchWorkflow.ts index ca7ea837..bc872ad0 100644 --- a/src/modules/core/githubActions/dispatchWorkflow.ts +++ b/src/modules/core/githubActions/dispatchWorkflow.ts @@ -1,6 +1,6 @@ import { createLogger } from '@/modules/core/logging/logger'; import { ALERT_TYPES } from '@/modules/core/sentry/config'; -import Sentry from '../sentry/init'; +import * as Sentry from '@sentry/node'; import { WorkflowsAPIResponse } from './types/WorkflowsAPIResponse'; const fileLabel = 'modules/core/githubActions/dispatchWorkflow'; diff --git a/src/modules/core/githubActions/dispatchWorkflowByPath.ts b/src/modules/core/githubActions/dispatchWorkflowByPath.ts index 2212bd3c..ef31f68f 100644 --- a/src/modules/core/githubActions/dispatchWorkflowByPath.ts +++ b/src/modules/core/githubActions/dispatchWorkflowByPath.ts @@ -4,7 +4,7 @@ import { GITHUB_REPO_NAME, } from '@/app/constants'; import { createLogger } from '@/modules/core/logging/logger'; -import Sentry from '../sentry/init'; +import * as Sentry from '@sentry/node'; import dispatchWorkflow from './dispatchWorkflow'; import { WorkflowsAPIResponse } from './types/WorkflowsAPIResponse';