Skip to content

Error Capture Issue #5204

Open
Open
@gaokun

Description

@gaokun
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.0.0-beta.8

Environment

MacOS 11.4, Chrome 97.0.4692.71, Vue 3.2.28

Reproduction link

https://github.com/gaokun/antdv-error-tracker

Steps to reproduce

  1. select an option [trigger 'onSelect']
  2. then you can find 'Uncaught (in promise) test error' in console

see detail in reproduction demo

What is expected?

'onSelect' of Select should fire onErrorCaptured

What is actually happening?

it dosen't

image


I am not sure this is a bug or wrong usage.

If it is indeed a bug, it exsits in everywhere we invoke callbacks like this way 'props.onSelect()', it breaks the promise chain.

I am free to any feedback.
Thx
Ken

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions