Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(server): Fix the "Cannot call method 'tooManyRequests' of undefin…
Browse files Browse the repository at this point in the history
…ed error.

* Pass the `error` object to `customs`.

fixes #665
  • Loading branch information
Shane Tomlinson committed Apr 1, 2014
1 parent b84cf7d commit 03aae55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/key_server.js
Expand Up @@ -67,7 +67,7 @@ function main() {
DB.connect(config[config.db.backend])
.done(
function (db) {
var customs = require('../customs')(log)
var customs = require('../customs')(log, error)
var routes = require('../routes')(
log,
error,
Expand Down

0 comments on commit 03aae55

Please sign in to comment.