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

[24.0] Decrease log level for not loading IT when ITs are not enabled to warning #17998

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Apr 16, 2024

I guess this could be debated ? What's your take on this @natefoo ? This is happening on the VGP instance in https://sentry.galaxyproject.org/share/issue/8860299efa3b49a2a620489692db039f/ ... maybe we should instead either enable ITs or remove the tools from the config ?

How to test the changes?

(Select all options that apply)

  • I've included appropriate automated tests.
  • This is a refactoring of components with existing test coverage.
  • Instructions for manual testing are as follows:
    1. [add testing steps and prerequisites here if you didn't write automated tests covering all your changes]

License

  • I agree to license these and all my past contributions to the core galaxy codebase under the MIT license.

@@ -898,6 +898,8 @@ def _load_tool_tag_set(
except OSError as exc:
exc_info = exc.errno != ENOENT
log.error("Error reading tool configuration file from path '%s': %s", path, exc, exc_info=exc_info)
except AssertionError as exc:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe InteractiveTool.__init__() should raise a ServerNotConfiguredForRequest exception instead of using an assert (also the ValueError() there is unnecessary), so we can catch a more specific exception here?

@natefoo
Copy link
Member

natefoo commented Apr 22, 2024

Yeah we should remove them from the tool config.

@mvdbeek mvdbeek closed this Nov 28, 2024
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.

3 participants