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

decomp: add explicit failures for common config mistakes related to allowed_objs #2062

Merged
merged 2 commits into from
Dec 30, 2022

Conversation

xTVaser
Copy link
Member

@xTVaser xTVaser commented Dec 17, 2022

A common thing that can be forgotten about / confusing to new people is that:

  1. if you add an object to the allowed_objs list but it's also in the banned_objs list -- the ban still takes precedence with no failure
  2. if you add an object to the allowed_objs list but have not allowed the DGO in inputs.jsonc it will also silently log a failure and continue.

This PR turns both situations into an explicit error with advice/a reminder on what to do to fix it.

@water111 water111 merged commit 997c1ab into open-goal:master Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants