frequent use of 'rescue nil' in future.rb swallows all exceptions
RUBY-286
Add more examples for how to use type_hints in Ruby for simple statements
RUBY-327
Query request size information
RUBY-314
Modify the message for batch log write failures
RUBY-313
Remove support for Apache Cassandra 1.2
RUBY-312
Remove DowngradingConsistencyRetryPolicy
RUBY-311
Mark DowngradingConsistencyRetryPolicy as deprecated
RUBY-310
Include hash of result set metadata in prepared stmt id (protocol change for CASSANDRA-10786)
RUBY-306
Add support for building user-defined row objects
RUBY-305
Allow symbol keys for results hashes
RUBY-302
Require a load-balancing policy when contact points are specified
RUBY-301
Implement HostFilterPolicy
RUBY-300
Driver should infer that Date objects bind to C* Date columns
RUBY-299
Update to the latest protocol v5 specs
RUBY-293
page_size of nil is not honored in session#execute
RUBY-289
Send keyspace in QUERY, PREPARE, and BATCH messages in v5
RUBY-285
Enable Client Timestamps by Default and use monotonic implementation
RUBY-284
Speculative retries
RUBY-260
Driver is stuck in Timeout loop and requires session restart to get out of it
RUBY-208
Ruby domain objects should have export_as_string methods
RUBY-188
timeout option should start counting when request is sent on the wire
RUBY-160
Expose API for parallel execution
RUBY-131
Provide a SizeCappedLoadBalancingPolicy
RUBY-130
Add Slow Query Logger
RUBY-124
Add LatencyAware Load Balancing Policy
RUBY-123
Implement Latency Tracking
RUBY-122
Make cluster discovery policy configurable
RUBY-118
Type hints for named and bound parameters in simple statements in protocol v4
RUBY-112
Expose node token and range information
RUBY-101
Add support for Windows and MRI
RUBY-86
Update and document cassandra-web to be included in developer VM
RUBY-71
Log a warning if an authenticator is configured but the server doesn't send an AUTHENTICATE response
RUBY-309
Pretty print cluster, session, graph options objects in DSE driver
RUBY-251
Update duration test to take advantage of Graph
RUBY-246
Add Windows into Jenkins CI
RUBY-172
Support Windows as a tested platform
RUBY-171
Add Windows support to duration test
RUBY-136
Windows-aware Tests
RUBY-54
Automatically publish docs after a release
RUBY-4
issue 1 of 39

frequent use of 'rescue nil' in future.rb swallows all exceptions

Description

Just one example, this line causes all exceptions in on_failure() to be swallowed silently (whether intentionally "raise"d or not)
Seems like a very undesirable pattern, prone to many subtle bugs

https://github.com/datastax/ruby-driver/blob/e0b787c6e0fcce4dde16492c770e42d785e1b4d9/lib/cassandra/future.rb#L70

Environment

None

Pull Requests

None

Status

Assignee

Sandeep Tamhankar

Reporter

Lucas Adamski

Labels

None

PM Priority

None

Reproduced in

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Affects versions

3.0.3
3.1.0

Priority

Blocker