From 1cc2e61fbf592e08004a27892debd888cd0692b9 Mon Sep 17 00:00:00 2001 From: Aubin <60398825+aubin-tchoi@users.noreply.github.com> Date: Fri, 6 Dec 2024 13:31:22 +0100 Subject: [PATCH] fix: fix an incorrect choice of interceptor (#9188) --- connectors/src/connectors/snowflake/temporal/worker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectors/src/connectors/snowflake/temporal/worker.ts b/connectors/src/connectors/snowflake/temporal/worker.ts index 0336ae1b1885..8d4bc1c953f8 100644 --- a/connectors/src/connectors/snowflake/temporal/worker.ts +++ b/connectors/src/connectors/snowflake/temporal/worker.ts @@ -3,8 +3,8 @@ import { Worker } from "@temporalio/worker"; import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin"; import * as activities from "@connectors/connectors/snowflake/temporal/activities"; +import { SnowflakeCastKnownErrorsInterceptor } from "@connectors/connectors/snowflake/temporal/cast_known_errors"; import { QUEUE_NAME } from "@connectors/connectors/snowflake/temporal/config"; -import { ZendeskCastKnownErrorsInterceptor } from "@connectors/connectors/zendesk/temporal/cast_known_errors"; import * as sync_status from "@connectors/lib/sync_status"; import { getTemporalWorkerConnection, @@ -29,7 +29,7 @@ export async function runSnowflakeWorker() { (ctx: Context) => { return new ActivityInboundLogInterceptor(ctx, logger); }, - () => new ZendeskCastKnownErrorsInterceptor(), + () => new SnowflakeCastKnownErrorsInterceptor(), ], }, bundlerOptions: {