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

Extend load_modules() to handle invalid modules #61

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

NotTheEvilOne
Copy link
Contributor

This PR fixes issues of no modules or invalid ones are configured in config.yaml.

Fixes: #56

@NotTheEvilOne NotTheEvilOne added bug Something isn't working framework labels Jun 19, 2024
@NotTheEvilOne NotTheEvilOne self-assigned this Jun 19, 2024
@boekhorstb1
Copy link
Contributor

boekhorstb1 commented Jun 24, 2024

after a package rebuild of the code I could test your code :)
will try to adapt setup

if len(migration_modules) > 0 or len(config["migration_modules"]) < 1:
logger = get_logger()

if len(config["migration_modules"]) < 1:
Copy link
Contributor

Choose a reason for hiding this comment

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

Im not sure if this situation will be able occure, but I dont think it hurts :)

@NotTheEvilOne NotTheEvilOne merged commit da853e4 into main Jun 24, 2024
2 checks passed
@NotTheEvilOne NotTheEvilOne deleted the prs/extend-load-modules-for-error-handling branch June 24, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No output is given if modules configuration contains invalid values
2 participants