Skip to content

Commit

Permalink
add the interceptor to the worker
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Nov 26, 2024
1 parent 06ca768 commit 3d7fac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions connectors/src/connectors/zendesk/temporal/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Context } from "@temporalio/activity";
import { Worker } from "@temporalio/worker";
import TsconfigPathsPlugin from "tsconfig-paths-webpack-plugin";

import { ZendeskCastKnownErrorsInterceptor } from "@connectors/connectors/zendesk/temporal/cast_known_errors";
import { getTemporalWorkerConnection } from "@connectors/lib/temporal";
import { ActivityInboundLogInterceptor } from "@connectors/lib/temporal_monitoring";
import logger from "@connectors/logger/logger";
Expand All @@ -26,6 +27,7 @@ export async function runZendeskWorkers() {
(ctx: Context) => {
return new ActivityInboundLogInterceptor(ctx, logger);
},
() => new ZendeskCastKnownErrorsInterceptor(),
],
},
bundlerOptions: {
Expand Down

0 comments on commit 3d7fac2

Please sign in to comment.