Updates
This commit is contained in:
@@ -68,7 +68,7 @@ export default async function runQuery({
|
||||
if (typeof query === "string") {
|
||||
const formattedQuery = trimSql(query);
|
||||
|
||||
if (debug) {
|
||||
if (debug && local) {
|
||||
console.log("runQuery:formattedQuery", formattedQuery);
|
||||
}
|
||||
|
||||
@@ -179,7 +179,7 @@ export default async function runQuery({
|
||||
message: error.message,
|
||||
});
|
||||
|
||||
if (debug) {
|
||||
if (debug && local) {
|
||||
console.log("runQuery:error", error.message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user