Skip to content

PR: Broken global exception handling #106

@Paebbels

Description

@Paebbels
  • Check for global error handler block
  • Check why ex is missing.
  File "/home/runner/.local/lib/python3.12/site-packages/pyEDAA/Reports/Unittesting/__init__.py", line 918, in __init__
    super().__init__(
  File "/home/runner/.local/lib/python3.12/site-packages/pyEDAA/Reports/Unittesting/__init__.py", line 345, in __init__
    raise ValueError(f"Parameter 'name' is empty.")
ValueError: Parameter 'name' is empty.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/runner/.local/bin/pyedaa-reports", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/runner/.local/lib/python3.12/site-packages/pyEDAA/Reports/CLI/__init__.py", line 181, in main
    Application.PrintException(ex)
TypeError: TerminalBaseApplication.PrintException() missing 1 required positional argument: 'ex'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unit TestingUnit test summariesbugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions