diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 99650e0a..780a2dc2 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -6,6 +6,12 @@ body: attributes: value: | Thank you for taking the time to report a bug! + - type: textarea + attributes: + label: Version + description: Output of `python southwest.py --version` + validations: + required: true - type: textarea attributes: label: Description @@ -27,8 +33,11 @@ body: description: A clear and concise description of what you expected to happen. - type: textarea attributes: - label: Version - description: Output of `python southwest.py --version` + label: Relevant logs and program output + description: | + Please paste relevant output or logs here. Additionally, the log file can be attached to this issue (found at `logs/auto-southwest-check-in.log`) + placeholder: This will be automatically formatted into code, so no need for backticks. + render: sh - type: textarea attributes: label: Additional context diff --git a/lib/main.py b/lib/main.py index c988c3b5..37926490 100644 --- a/lib/main.py +++ b/lib/main.py @@ -109,6 +109,7 @@ def set_up_check_in(arguments: List[str]) -> None: Initialize reservation and account monitoring based on the configuration and arguments passed in """ + logger.debug(f"Auto-Southwest Check-In {__version__}") logger.debug("Called with %d arguments", len(arguments)) # Imported here to avoid needing dependencies to retrieve the script's