Allowing logWarn to take an object for warning.

This commit is contained in:
mike12345567 2023-07-03 16:01:54 +01:00
parent 4e560a1f32
commit deca999183
1 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,6 @@ export function logAlertWithInfo(
logAlert(message, error) logAlert(message, error)
} }
export function logWarn(message: string) { export function logWarn(message: string, e?: any) {
console.warn(`bb-warn: ${message}`) console.warn(`bb-warn: ${message}`, e)
} }