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

fix: improve generateStackTrace function to hide vue warn message #1000

Merged
merged 4 commits into from
Jan 14, 2023

Conversation

subzero10
Copy link
Member

Status

READY
Fixes: #996

Description

Improves generateStackTrace function to hide Vue[warn] message about undefined property _isVue.

Bonus: adds jest-fetch-mock to remove some errors logged in tests

@subzero10 subzero10 self-assigned this Jan 13, 2023
@subzero10 subzero10 added vue @honeybadger-io/vue bug labels Jan 13, 2023
return ANONYMOUS_COMPONENT
}

const options = vm.$options
Copy link
Member Author

@subzero10 subzero10 Jan 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stympy
stympy previously approved these changes Jan 13, 2023
Copy link
Contributor

@BethanyBerkowitz BethanyBerkowitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One minor comment, but no need to re-review

packages/vue/src/vue-debug.js Show resolved Hide resolved
# Conflicts:
#	packages/vue/package-lock.json
@subzero10 subzero10 merged commit 45c6ad6 into master Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug vue @honeybadger-io/vue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Vue warn]: Property ("_isVue" | "constructor") was accessed during render but is not defined on instance.
3 participants