diff --git a/kayle/lib/kayle.ts b/kayle/lib/kayle.ts index 35d1b1e..b686427 100644 --- a/kayle/lib/kayle.ts +++ b/kayle/lib/kayle.ts @@ -220,7 +220,7 @@ export const kayle = async ( try { await config.page.close(); } catch (e) { - _log.enabled && console.error; + _log.enabled && console.error(e); } }