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

Documentation and error handling/logging fixes #289

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Kircheneer
Copy link

  • Fixed a couple of typos in different places
  • Improved error handling for content provided by git repositories
  • Aligned logging level and writing to that of Nautobot core provided messages

@Kircheneer Kircheneer force-pushed the lk-fixes branch 2 times, most recently from 4bbd249 to 3edfb41 Compare December 19, 2024 13:42
@Kircheneer Kircheneer marked this pull request as ready for review December 19, 2024 13:42
@Kircheneer
Copy link
Author

Happy to provide two separate PRs if you want.

next(repo_data_dir.glob("*.yml"))
except StopIteration:
job_result.log(
"Command mapper repo folder found, but it doesn't contain any command mapper files."
Copy link
Contributor

Choose a reason for hiding this comment

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

should there be a comma between these two strings or is this something I am unaware of?

Copy link
Author

Choose a reason for hiding this comment

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

Actually, not! Check this:

>>> print("Hello I am"
...       "Leo, you are Stephen")
Hello I amLeo, you are Stephen

You did, however, bring to my attention that a space is missing, I have removed this.

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.

2 participants