Skip to content

Add extra validation check#46

Open
tadeas-hejnic wants to merge 3 commits into
developfrom
45-bug-incorrect-log-file-path-leads-to-unexpected-behaviour
Open

Add extra validation check#46
tadeas-hejnic wants to merge 3 commits into
developfrom
45-bug-incorrect-log-file-path-leads-to-unexpected-behaviour

Conversation

@tadeas-hejnic
Copy link
Copy Markdown
Contributor

Changelog Description

This pull request makes a small but important improvement to the constructor of the AyonApi class. The change ensures that the log file path is only processed if the optional string is both present and non-empty, adding a more robust check for valid input.

Additional review information

  • Improved input validation in the AyonApi constructor by checking that logFilePos is not only set but also non-empty before using it.

Testing notes:

Tested already with this PR.

@tadeas-hejnic tadeas-hejnic self-assigned this Apr 23, 2026
@tadeas-hejnic tadeas-hejnic added the bug Something isn't working label Apr 23, 2026
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.

1 participant