Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emit error event when listen the page has been closed #1110

Closed
lijiarui opened this issue Feb 28, 2018 · 1 comment
Closed

emit error event when listen the page has been closed #1110

lijiarui opened this issue Feb 28, 2018 · 1 comment

Comments

@lijiarui
Copy link
Member

lijiarui commented Feb 28, 2018

I suggest the following log to emit an error event instead of a warning, because when this error, wechaty actually has dead.

08:47:37 WARN PuppetWebBridge proxyWechaty() noWechaty exception: Error: Protocol error (Runtime.callFunctionOn): Session closed. Most likely the page has been closed.
@huan
Copy link
Member

huan commented Jul 15, 2018

After v0.16 the Wechaty had been rewritten.

Please file a new issue at wechaty-puppet-puppeteer if you have any suggestion for the new version.

@huan huan closed this as completed Jul 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants