         (h/counter "PDF files" "with docid")
         (convert-pdf docid download))
     (do (warn "handle-pdf found no docid for " (:request_uri download))
-        (h/counter "PDF files" "no docid"))))
+        (h/counter "PDF files" "no docid")
+        nil)))
 
 
 ;;; Step 2: dispatch on MIME type of the download




;;; MAPPER METHODS

(defn mapper-configure [this job]

            [org.altlaw.util.jruby :as ruby]
            [org.altlaw.util.context :as context]
            [org.altlaw.util.log :as log]
            [org.altlaw.util.merge-fields :as merge]
            [org.altlaw.db.docids :as ids]
            [org.altlaw.extract.pdf :as pdf]
            [clojure.contrib.walk :as walk]
            [clojure.contrib.singleton :as sing]
            [clojure.set :as set])
  (:use clojure.contrib.json.read
        org.altlaw.util.log)
  (:import (org.altlaw.extract PROHTMLToText)
           (org.apache.commons.codec.binary Base64)
           (javax.script ScriptContext ScriptEngine ScriptEngineManager)
           (java.io StringReader)))

