fix: rename printError function

This apparently conflicts with and overrides a global used in cfx's JS runtime.
This commit is contained in:
Linden committed 2023-09-06 12:31:22 +10:00
1 parent 8daa2b7e63
commit 86aaf157fa
4 files changed
+9 -9

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { mysql_debug, mysql_slow_query_warning, mysql_ui } from '../config';
import type { CFXCallback, CFXParameters } from '../types';
import { dbVersion } from '../database';
export function printError(
export function logError(
invokingResource: string,
cb: CFXCallback | undefined,
isPromise: boolean | undefined,