Merge pull request #299 from bknd-io/fix/rec-with-join

fix: recursive `with` omitted join clauses
This commit is contained in:
dswbx
2025-11-21 20:01:46 +01:00
committed by GitHub
3 changed files with 11 additions and 8 deletions

View File

@@ -105,7 +105,10 @@ export class AppServer extends Module<AppServerConfig> {
if (err instanceof Error) {
if (isDebug()) {
return c.json({ error: err.message, stack: err.stack }, 500);
return c.json(
{ error: err.message, stack: err.stack?.split("\n").map((line) => line.trim()) },
500,
);
}
}