       ((get sayid-nrepl-ops op handler) msg)
       (catch Throwable e
           (println (.getMessage e))
-          (clojure.stacktrace/print-stack-trace e)
+          (st/print-stack-trace e)
           (reply:clj->nrepl msg (.getMessage e))))))
 
 

(ns com.billpiel.sayid.nrepl-middleware
  (:require [clojure.tools.nrepl.middleware :refer [set-descriptor!]]
            [clojure.tools.nrepl.misc :refer [response-for]]
            [clojure.tools.nrepl.transport :as t]
            [com.billpiel.sayid.core :as sd]

    (catch Exception e
      (println e)
      (println (with-out-str ;; I don't know why this is necessary
                 (st/print-stack-trace e)))
      (t/send transport (response-for msg
                                      :value (with-out-str (st/print-stack-trace e)))))
    (finally
      (send-status-done msg))))

