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

[Superseded] Added try/catch to CheckRevealFootprint #20080

Closed
wants to merge 1 commit into from

Conversation

penev92
Copy link
Member

@penev92 penev92 commented Jun 20, 2022

Exceptions like "OpenRA.Utility(1,1): Error: OpenRA.Mods.Common.Lint.CheckDefaultVisibility failed with exception: System.InvalidOperationException: TypeDictionary contains multiple instances of type OpenRA.Traits.IOccupySpaceInfo" are very hard to diagnose, so we'd like to have the actor name to help.

P.S.: Best seen without the whitespace changes: https://github.com/OpenRA/OpenRA/pull/20080/files?w=1

Exceptions like "OpenRA.Utility(1,1): Error: OpenRA.Mods.Common.Lint.CheckDefaultVisibility failed with exception: System.InvalidOperationException: TypeDictionary contains multiple instances of type OpenRA.Traits.IOccupySpaceInfo" are very hard to diagnose, so we'd like to have the actor name to help.
@penev92
Copy link
Member Author

penev92 commented Jun 22, 2022

To give some context on the Conceptual concerns label (and also so I don't forget what we talked about):
image

@PunkPun
Copy link
Member

PunkPun commented Jul 14, 2022

So should this PR be closed and an issue opened instead?

@penev92
Copy link
Member Author

penev92 commented Jul 15, 2022

No, I consider this critical enough to fix before a release. Either I finish it or someone takes over.

@abcdefg30
Copy link
Member

Closing as superseded by #20188.

@abcdefg30 abcdefg30 closed this Aug 15, 2022
@penev92 penev92 deleted the lintExceptions branch September 2, 2022 19:20
@penev92 penev92 changed the title Added try/catch to CheckRevealFootprint [Superseded] Added try/catch to CheckRevealFootprint Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants