Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix traceback with weird debug level, but ruff is unhappy
Traceback (most recent call last): File "/home/psss/.local/share/hatch/env/virtual/tmt/v_yBwOy-/dev/bin/tmt", line 5, in <module> from tmt.__main__ import run_cli File "/home/psss/git/tmt/tmt/__init__.py", line 20, in <module> from tmt.base import Clean, Plan, Run, Status, Story, Test, Tree File "/home/psss/git/tmt/tmt/base.py", line 57, in <module> import tmt.utils.jira File "/home/psss/git/tmt/tmt/utils/jira.py", line 21, in <module> tmt.log.Logger.get_bootstrap_logger()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/psss/git/tmt/tmt/log.py", line 871, in get_bootstrap_logger cls._bootstrap_logger = Logger.create(actual_logger=actual_logger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/psss/git/tmt/tmt/log.py", line 686, in create return Logger( ^^^^^^^ File "/home/psss/git/tmt/tmt/log.py", line 629, in apply_verbosity_options debug_level_from_global_envvar = _debug_level_from_global_envvar() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/psss/git/tmt/tmt/log.py", line 123, in _debug_level_from_global_envvar raise tmt.utils.GeneralError(f"Invalid debug level '{raw_value}', use an integer.") tmt.utils.GeneralError: Invalid debug level 'weird', use an integer.
- Loading branch information