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

Add track_caller to App::add_plugins #9174

Merged
merged 2 commits into from Jul 23, 2023

Conversation

MrGunflame
Copy link
Contributor

Objective

Currently the panic message if a duplicate plugin is added isn't really helpful or at least can be made more useful if it includes the location where the plugin was added a second time.

Solution

Add track_caller to add_plugins and it's called dependencies.

@james7132 james7132 added C-Usability A simple quality-of-life change that makes Bevy easier to use A-App Bevy apps and plugins labels Jul 16, 2023
@harudagondi harudagondi added the S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it! label Jul 17, 2023
@james7132 james7132 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it! labels Jul 18, 2023
@mockersf mockersf added this pull request to the merge queue Jul 22, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 22, 2023
@james7132 james7132 added this pull request to the merge queue Jul 22, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 22, 2023
@mockersf mockersf added this pull request to the merge queue Jul 23, 2023
Merged via the queue into bevyengine:main with commit 453bd05 Jul 23, 2023
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-App Bevy apps and plugins C-Usability A simple quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants