lib/redgraph/graph.rb in redgraph-0.2.1 vs lib/redgraph/graph.rb in redgraph-0.2.2
- old
+ new
@@ -17,10 +17,10 @@
#
def initialize(graph_name, redis_options = {})
@graph_name = graph_name
@connection = Redis.new(redis_options)
@module_version = module_version
- raise ServerError unless @module_version
+ raise ServerError, "Can't find RedisGraph module" unless @module_version
end
# Returns the version of the RedisGraph module
#
def module_version