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

[BUGFIX LTS] Improve error for owner methods called after destroy #20385

Merged
merged 1 commit into from Feb 22, 2023

Conversation

chriskrycho
Copy link
Contributor

The previous error handling gives you a stack trace and a notice, but does not tell you what was being asked for with the lookup. This makes the traces much less helpful, especially for minified/prod builds.

The previous error handling gives you a stack trace and a notice, but
does not tell you what was being asked for with the lookup. This makes
the traces much less helpful, especially for minified/prod builds.
@rwjblue rwjblue merged commit 7161e2a into master Feb 22, 2023
@rwjblue rwjblue deleted the better-post-destroy-error branch February 22, 2023 05:20
@runspired
Copy link
Contributor

I took this a step further in a patch lately and it got me thinking it would be nice to be able to hook this particular error and the "called set" error (basically the your app is torn down errors) for decorating with additional context. Specifically I patched in the ability to grab the owner's guid and then map that to the owner guid from a qunit test context to ensure confidence in which test had been borked.

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 this pull request may close these issues.

None yet

3 participants