Skip to content

Fix log file selection error message (issue #9)#10

Merged
aledanee merged 9 commits intomainfrom
fix-log-selection-issue-9
Apr 11, 2025
Merged

Fix log file selection error message (issue #9)#10
aledanee merged 9 commits intomainfrom
fix-log-selection-issue-9

Conversation

@aledanee
Copy link
Owner

Fix for Issue #9: Log file selection loop

Description

This PR addresses issue #9 where users faced issues with log file selection.

While the issue has been fixed in the current codebase with the proper while True: loop implementation, this PR enhances the error message to be more descriptive and helpful by:

  1. Showing the invalid selection that was made
  2. Displaying the valid range of numbers to choose from

Changes Made

  • Enhanced the error message in display_log_selection() to provide more context when an invalid selection is made
  • Applied the same improvement to both qcmd_cli/log_analysis/log_files.py and qcmd.new

Related Issues

Fixes #9

@aledanee aledanee merged commit b73deea into main Apr 11, 2025
2 checks passed
@aledanee aledanee deleted the fix-log-selection-issue-9 branch April 11, 2025 19:26
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.

wrong function with option

1 participant