Skip to content

Vue.config.errorHandler and errorCaptured should capture rejected promised in watchers #10009

Closed
@xiangnanscu

Description

@xiangnanscu

Version

2.6.6

Reproduction link

Vue.config.errorHandler: https://jsfiddle.net/0aeufxmr/5/
errorCaptured option: https://jsfiddle.net/shenron/kbuymoz0/

Steps to reproduce

Just click click1 and click2 you will see the difference

What is expected?

when clicking click1, the message should be error response

What is actually happening?

message not changed

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions