diff options
author | isaacs <i@izs.me> | 2010-08-01 23:48:41 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-08-01 23:48:41 +0400 |
commit | ef3a34d5db1f1176886317f7e3e1b92ddae153d4 (patch) | |
tree | 9972e38d44a8c46a36ff000922b822ae6fb1ca25 /lib/owner.js | |
parent | 453fda55b3e0d7b01dfd652233369d74cff8f21e (diff) |
forgot the callback to log.er
Diffstat (limited to 'lib/owner.js')
-rw-r--r-- | lib/owner.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/owner.js b/lib/owner.js index afcec199e..f24475ebb 100644 --- a/lib/owner.js +++ b/lib/owner.js @@ -68,7 +68,7 @@ function rm (user, pkg, cb) { } function mutate (pkg, user, mutation, cb) { get("/getuser/org.couchdb.user:"+user, function (er, u) { - if (er) return log.er("Error getting user data for "+user)(er) + if (er) return log.er(cb, "Error getting user data for "+user)(er) if (!u || u.error) return cb(new Error( "Couldn't get user data for "+user+": "+JSON.stringify(u))) get("/"+pkg, function (er, data) { |