From 7da902e5cb32101cb6a1326b16b2b0f6efa31d5e Mon Sep 17 00:00:00 2001 From: parkpiljung Date: Thu, 22 Aug 2024 12:05:53 +0900 Subject: [PATCH] =?UTF-8?q?error=20stack=20=EA=B8=B0=EB=B3=B8=EC=9D=80=20?= =?UTF-8?q?=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 65a2ed5..bb51068 100644 --- a/src/index.js +++ b/src/index.js @@ -564,7 +564,7 @@ function BASE({ transaction_querys.push({ text: query.text, values: JSON.stringify(query.values), - stack: new Error().stack, + stack: FxSQL_DEBUG.LOG && new Error().stack, }); return await go( is_injection(query) ? Promise.reject('INJECTION ERROR') : query,