Permalink
Browse files

Update src/server/session.coffee

callback is not defined, removing it
  • Loading branch information...
1 parent 27c3374 commit da67d1fb80134d8e0cad0b88fffb5e8889ecaa1a @dcolens dcolens committed Sep 18, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/server/session.coffee
@@ -66,8 +66,7 @@ exports.handler = (session, createAgent) ->
if error
console.warn "Invalid query #{query} from #{agent.sessionId}: #{error}"
- session.abort()
- return callback()
+ return session.abort()
# The agent can specify null as the docName to get a random doc name.
if query.doc is null

0 comments on commit da67d1f

Please sign in to comment.