Skip to content

[Bugs] BunnyCDNException dont work properly #63

@LackFos

Description

@LackFos

Hey, I noticed something peculiar. By default, both BunnyCDNClient and BunnyCDNAdapter share the same exception handler, which is BunnyCDNExceptions. However, when attempting to perform actions with invalid credentials or invalid operations like deleting an invalid file, I couldn't catch the errors using the try block. After spending a considerable amount of time investigating the issue, I discovered that creating a new exception and using different exception handlers for BunnyClient and BunnyAdapter allows the errors to be thrown correctly.

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