Skip to content

Bug: bare except clause in PythonLiteralOption #111

@stumelius

Description

@stumelius

Bug

In dbt_cloud/field.py, PythonLiteralOption.convert() uses a bare except: clause which catches all exceptions including KeyboardInterrupt, SystemExit, etc.

Fix: Replace with except (ValueError, SyntaxError): to only catch expected parse errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority: mediumImportant but not urgent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions