Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upManually triggered listener throws error even if catched #10873
Closed
Comments
This comment has been minimized.
This comment has been minimized.
It may look confusing in this specific situation, but the error handling is added at |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.6.10
Reproduction link
https://codesandbox.io/s/button-that-awaits-async-click-listener-in-vuejs-m3hz1
Steps to reproduce
What is expected?
The error should not be thrown. No warning message should be emitted.
What is actually happening?
Error is thrown and a warning message is emitted.
The important code can be found in /components/VButton.vue on line 36 and following