Skip to content

Search for non-existing hostname results not in correct exception #48

@cmeissner

Description

@cmeissner

Describe the bug

Look up for a non existing call raises a PHPyPAMException not PHPyPAMEntityNotFoundException.

To Reproduce
Steps to reproduce the behavior:

pi.get_entity(controller='addresses', controller_path=f"search_hostname/{hostname}/")

Expected behavior

PHPyPAMEntityNotFoundException should be raised instead.

Versions:

phpypam <= 1.0.1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions