Skip to content

Commit

Permalink
fix: fix an incorrect choice of interceptor (#9188)
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi authored Dec 6, 2024
1 parent d899241 commit 1cc2e61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectors/src/connectors/snowflake/temporal/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -29,7 +29,7 @@ export async function runSnowflakeWorker() {
(ctx: Context) => {
return new ActivityInboundLogInterceptor(ctx, logger);
},
() => new ZendeskCastKnownErrorsInterceptor(),
() => new SnowflakeCastKnownErrorsInterceptor(),
],
},
bundlerOptions: {
Expand Down

0 comments on commit 1cc2e61

Please sign in to comment.