Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update lib/sessions/stores/redis.js

Remove sys
  • Loading branch information...
commit b1d1eb117799efc006c615138abaf69b979e2bf9 1 parent 6717ff8
@Techwraith Techwraith authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/sessions/stores/redis.js
View
5 lib/sessions/stores/redis.js
@@ -33,7 +33,8 @@ Config section should look like this:
'server' is your Redis server.
*/
-var file = require('utilities').file
+var utils = require('utilities')
+ , file = utils.file
, RedisServer = file.requireLocal('redis');
var Redis = function (callback) {
@@ -55,7 +56,7 @@ Redis.prototype = new (function () {
_ns = geddy.config.sessions.server.ns || "";
_client = RedisServer.createClient(port, host, opts);
_client.on("error", function (err) {
- sys.error("Redis error " + _client.host + ":" + _client.port + " - " + err);
+ utils.log.error("Redis error " + _client.host + ":" + _client.port + " - " + err);
});
if (geddy.config.sessions.server.auth) {
Please sign in to comment.
Something went wrong with that request. Please try again.