-
Notifications
You must be signed in to change notification settings - Fork 909
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 Display for pass errors #1068
Conversation
@scoopr I was doing |
I think @Kimundi did that originally, did I mess it up while doing the other changes? Shouldn’t the |
Sorry, I might have confused the authorship.
Well, that sounds logical, but how do I get the full error then? |
That’s what |
Yeah |
I guess another option here is to have |
Well yes, you kind of pushed the error reporting to be moved to wgpu-rs level, this includes the id to label resolution, formatting and also some of the top level errors are injected there. I don't think there is anything in the way of moving all (or some) of that back to wgpu. Maybe |
Yes, I remember. I did a similar thing to errors in general at first, wanting So for |
Is there any harm/downside to landing this? Would it make wgpu-rs errors wrong? cc @Kimundi |
It would change the wgpu-rs error output from something like
To something like this:
...which does not look quite right :D |
Ok, it sounds like we need to get back to the board and try to integrate the pretty errors into wgpu itself. |
Connections
Currently printing an error only outputs the scope.
Description
This PR makes it print the whole error.
Testing
Untested