Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jamesst20 opened this issue Dec 3, 2019 · 1 comment
Open

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

jamesst20 opened this issue Dec 3, 2019 · 1 comment

Comments

@jamesst20
Copy link

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 ? :)

@ioquatix
Copy link
Member

ioquatix commented Dec 3, 2019

Yes, this does seem like bad behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants