提交 55d45964 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

log more when browser.execute exception

上级 b31e0238
......@@ -285,6 +285,7 @@ export class Browser extends EventEmitter {
return await this.driver.executeScript.apply(this.driver, arguments)
} catch (e) {
// this.dead(e)
log.verbose('PuppetWebBrowser', 'execute() script: %s', script)
log.warn('PuppetWebBrowser', 'execute() exception: %s, %s', e.message.substr(0, 99), e.stack)
throw e
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册