Remove unused throw.

This commit is contained in:
Sam Rose 2024-09-16 12:09:04 +01:00
parent ddf7041562
commit ea6e2a472e
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -74,7 +74,6 @@ export async function destroy(ctx: UserCtx) {
builderSocket?.emitDatasourceUpdate(ctx, datasource)
return table
} catch (err: any) {
throw err
if (err instanceof Error) {
ctx.throw(400, err.message)
} else {