Skip to content

[Merged by Bors] - insert_attribute panic with full message#5651

Closed
IceSentry wants to merge 1 commit intobevyengine:mainfrom
IceSentry:insert-attr-panic
Closed

[Merged by Bors] - insert_attribute panic with full message#5651
IceSentry wants to merge 1 commit intobevyengine:mainfrom
IceSentry:insert-attr-panic

Conversation

@IceSentry
Copy link
Contributor

Objective

When an invalid attribute is inserted and the LogPlugin is not enabled the full error is not printed which means makes it hard to diagnose.

Solution

  • Always print the full message in the panic.

Notes

I originally had a separate error log because I wanted to make it clearer for users, but this is probably causing more issues than necessary.

@IceSentry IceSentry added A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change C-Usability A targeted quality-of-life change that makes Bevy easier to use labels Aug 10, 2022
@IceSentry
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Aug 10, 2022
@bors
Copy link
Contributor

bors bot commented Aug 10, 2022

try

Build failed:

@IceSentry
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Aug 10, 2022
@IceSentry IceSentry added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Aug 15, 2022
@mockersf
Copy link
Member

bors r+

bors bot pushed a commit that referenced this pull request Aug 15, 2022
# Objective

When an invalid attribute is inserted and the LogPlugin is not enabled the full error is not printed which means makes it hard to diagnose.

## Solution

- Always print the full message in the panic.

## Notes

I originally had a separate error log because I wanted to make it clearer for users, but this is probably causing more issues than necessary.
@bors
Copy link
Contributor

bors bot commented Aug 15, 2022

@bors bors bot changed the title insert_attribute panic with full message [Merged by Bors] - insert_attribute panic with full message Aug 15, 2022
@bors bors bot closed this Aug 15, 2022
@IceSentry IceSentry deleted the insert-attr-panic branch August 16, 2022 15:22
maccesch pushed a commit to Synphonyte/bevy that referenced this pull request Sep 28, 2022
# Objective

When an invalid attribute is inserted and the LogPlugin is not enabled the full error is not printed which means makes it hard to diagnose.

## Solution

- Always print the full message in the panic.

## Notes

I originally had a separate error log because I wanted to make it clearer for users, but this is probably causing more issues than necessary.
james7132 pushed a commit to james7132/bevy that referenced this pull request Oct 28, 2022
# Objective

When an invalid attribute is inserted and the LogPlugin is not enabled the full error is not printed which means makes it hard to diagnose.

## Solution

- Always print the full message in the panic.

## Notes

I originally had a separate error log because I wanted to make it clearer for users, but this is probably causing more issues than necessary.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective

When an invalid attribute is inserted and the LogPlugin is not enabled the full error is not printed which means makes it hard to diagnose.

## Solution

- Always print the full message in the panic.

## Notes

I originally had a separate error log because I wanted to make it clearer for users, but this is probably causing more issues than necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Code-Quality A section of code that is hard to understand or change C-Usability A targeted 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.

4 participants