镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

add error handling in stream.js - #28

Open
fuzhenn wants to merge 2 commits into
stackgl:masterfrom
fuzhenn:error-handling
Open

fuzhenn wants to merge 2 commits into
stackgl:masterfrom
fuzhenn:error-handling

Conversation

@fuzhenn

@fuzhenn fuzhenn commented Jul 17, 2020

Copy link
Copy Markdown

Now we can catch steam's error:

.pipe(glslParser())
.on('error', () => { })

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

Successfully merging this pull request may close these issues.

1 participant