From 01430fe1e985c38b55171b000661b953abcf4986 Mon Sep 17 00:00:00 2001 From: Kai Niebes Date: Mon, 22 Jun 2026 16:11:22 +0200 Subject: [PATCH] Return value even on validation error --- src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.ts b/src/index.ts index 433619c..ab582f5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -121,6 +121,7 @@ PluginController.routers$.subscribe(async routerConfigs => { } } else { console.log('We got a validation error', Bun.inspect(error.messageValue, { depth: 2 })); + return status(200, error.value); } } err(`Error on ${path}:`, error);