Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] (with 1-line-of-code fix) the hint is not passed to processors #355

Closed
fzyzcjy opened this issue Mar 13, 2021 · 3 comments · Fixed by #356
Closed

[bug] (with 1-line-of-code fix) the hint is not passed to processors #355

fzyzcjy opened this issue Mar 13, 2021 · 3 comments · Fixed by #356
Labels

Comments

@fzyzcjy
Copy link
Contributor

fzyzcjy commented Mar 13, 2021

Hi thanks for the lib! The hint provided from captureEvent is not passed to processors. This can be solved by one line of code:

In

preparedEvent = await _processEvent(

Replace

    preparedEvent = await _processEvent(
      preparedEvent,
      eventProcessors: _options.eventProcessors,
    );

with

    preparedEvent = await _processEvent(
      preparedEvent,
      eventProcessors: _options.eventProcessors,
     hint:hint, //THIS!
    );
@marandaneto
Copy link
Contributor

@fzyzcjy thanks, good catch btw :)

@fzyzcjy
Copy link
Contributor Author

fzyzcjy commented Mar 14, 2021

@marandaneto You are welcome! This one also released on Monday right? :)

@marandaneto
Copy link
Contributor

@marandaneto You are welcome! This one also released on Monday right? :)

yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants