From 585fac6635b099306d47ecd036937e7a071cc29b Mon Sep 17 00:00:00 2001 From: Aaron Harper Date: Fri, 29 Sep 2023 09:00:36 -0400 Subject: [PATCH] Fix missing name on NonRetriableError --- packages/inngest/src/components/NonRetriableError.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/inngest/src/components/NonRetriableError.ts b/packages/inngest/src/components/NonRetriableError.ts index 2844aefc8..9c270fad2 100644 --- a/packages/inngest/src/components/NonRetriableError.ts +++ b/packages/inngest/src/components/NonRetriableError.ts @@ -29,5 +29,7 @@ export class NonRetriableError extends Error { super(message); // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment this.cause = options?.cause; + + this.name = "NonRetriableError"; } }