Skip to content

NoneType Error Handling Reversed #8

Open
@elf32

Description

@elf32

I wasn't sure where to place issues related to the resilient-circuits framework itself, if there is a more appropriate place please let me know.

During some test building of functions and components, if a cafile path is found to be None, for whatever reason (originating from line 468), and is passed into the _setup_stomp function; the call will fail on line 469, seen below. None types don't have attributes to call .strip() or .lower().

The code appeared to anticipate a possible None type being received, since line 473 does a check for this.

These should probably be swapped to handle the None value being received before working through the other cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions