From c30cc06d47dcc5b9e11676662f6d506f936384dc Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Mon, 8 Apr 2024 11:06:43 +0100 Subject: [PATCH] Fix lint. --- packages/server/src/api/controllers/table/external.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/server/src/api/controllers/table/external.ts b/packages/server/src/api/controllers/table/external.ts index 0a6cf58bce..7c036bec9d 100644 --- a/packages/server/src/api/controllers/table/external.ts +++ b/packages/server/src/api/controllers/table/external.ts @@ -49,7 +49,6 @@ export async function save( builderSocket?.emitDatasourceUpdate(ctx, datasource) return table } catch (err: any) { - throw err if (err instanceof Error) { ctx.throw(400, err.message) } else {