cloudflare icon indicating copy to clipboard operation
cloudflare copied to clipboard

[Bug?] All exceptions are catched in the connection block

Open jamesst20 opened this issue 5 years ago • 1 comments

Hi,

It seems like all exceptions are being catched by the connection block :

Cloudflare.connect(token: cloudflare_token) do |connection|
        raise "Exception"
end

I would like my service to crash if anything fails or if the cloudflare authentication fail. Could this be fixed ? :)

jamesst20 avatar Dec 03 '19 13:12 jamesst20

Yes, this does seem like bad behaviour.

ioquatix avatar Dec 03 '19 14:12 ioquatix