Skip to content

Commit 2373515

Browse files
bdurandstamhankar999
authored andcommitted
remove custom message on options assertion (#232)
1 parent 849df28 commit 2373515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cassandra/session.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def inspect
243243
# @private
244244
def merge_execution_options(options)
245245
if options
246-
Util.assert_instance_of(::Hash, options, "options must be a Hash, #{options.inspect} given")
246+
Util.assert_instance_of(::Hash, options)
247247
# Yell if the caller gave us a bad profile name.
248248
execution_profile = nil
249249
if options.key?(:execution_profile)

0 commit comments

Comments
 (0)