You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hey, I noticed something peculiar. By default, both
BunnyCDNClient
andBunnyCDNAdapter
share the same exception handler, which isBunnyCDNExceptions
. However, when attempting to perform actions with invalid credentials or invalid operations like deleting an invalid file, I couldn't catch the errors using thetry
block. After spending a considerable amount of time investigating the issue, I discovered that creating a new exception and using different exception handlers forBunnyClient
andBunnyAdapter
allows the errors to be thrown correctly.The text was updated successfully, but these errors were encountered: