From 2211d36aa952294604c7bc8844835e90f64a4ab7 Mon Sep 17 00:00:00 2001 From: Rizky Date: Sat, 27 Apr 2024 08:51:41 +0700 Subject: [PATCH] fix --- pkgs/api/_dbs.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/api/_dbs.ts b/pkgs/api/_dbs.ts index 4f617e0..ff72bf8 100644 --- a/pkgs/api/_dbs.ts +++ b/pkgs/api/_dbs.ts @@ -12,9 +12,9 @@ export const _ = { const result = await execQuery(body, g.db); res.send(result); } catch (e: any) { + console.log("_dbs error", e.message); res.sendStatus(500); res.send(e.message); - console.error(e); } } },