Closed
Description
Version
2.6.6
Reproduction link
https://codepen.io/anon/pen/qgQYra?editors=1011
Steps to reproduce
The problem seems to happen when I handle an event emitted from a component and return a rejected promise. To see the problem in action, open the codepen link, click the button and you will see in the console two logs of the same error, which means the Vue.config.errorHandler was called twice.
What is expected?
I expect the errrorHandler called once.
What is actually happening?
the errorHandler function is called twice.