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

feat: nuxt, captureError method, perevent multiple sending #111

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

neSpecc
Copy link
Member

@neSpecc neSpecc commented Oct 19, 2024

This PR introduces several updated needed for @hawk.so/nuxt integration.

  1. captureError public method.

Hawk Nuxt SDK uses own error capturing method, but will uses Hawk Javascript for processing and sending.

  1. Now when we capture error, we mark it with __hawk-processed__ to prevent multiple sending.

SDK may have own error capturing method and normally re-trow error down. This update is needed to handle this case.

  1. Nuxt addons types added

  2. Sanitizer moved from adding to upper level to simplify adding adding

  3. Utils moved from utils.ts to /utils/

@neSpecc neSpecc merged commit 5aecc52 into master Oct 22, 2024
2 checks passed
@neSpecc neSpecc deleted the nuxt-support branch October 22, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant