cyrusharmon.org

Cyrus Harmon's new completely useless blog

 

whoops

posted by cyrus in Lisp

Elias Martenson kindly pointed out that I forgot a progn around ,@body:

(defmacro with-java-stack-trace (&body body)  
  `(handler-case   
    (progn  
      ,@body)  
    (java:java-exception (e)  
     (print (#"getMessage" e))))) 
whoops