diff --git a/packages/server/src/error/TRPCError.ts b/packages/server/src/error/TRPCError.ts index 2918e1b6d33..7697198be60 100644 --- a/packages/server/src/error/TRPCError.ts +++ b/packages/server/src/error/TRPCError.ts @@ -45,7 +45,7 @@ export class TRPCError extends Error { this.name = 'TRPCError'; if (!this.cause) { - // idk why this is needed, but it is + // < ES2022 / < Node 16.9.0 compatability this.cause = cause; } }