         # a given model, and provides a wrapper for it; otherwise, search for
         # the method with the exact name.
         fn = ctx["#{method}$"] ? ctx[method]
-      bongo.handleError "unknown method! #{method}"  unless fn?
+      unless fn?
+        bongo.handleError "unknown method! #{method}"
+        return
       if fn.isSecurityEnabled
         bongo.fetchClient sessionToken, userArea, (client) ->
           args = [client].concat args

    #@initBlacklist options.blacklist
    @loadModels models
    @on 'error', Bongo.throwIt
    @mq?.ready => @mq.connection?.on 'error', Bongo.throwIt
    @setMaxListeners 0
    @emit 'newInstance', this



  @throwIt = (it) ->
    console.error it  if it?
    # process.kill process.pid, 'SIGTERM'

  constructor:(options)->
    {@mq, @mongo, @resourceName, @root, @fetchClient, @verbose, models, @precompiledApi} = options
