From: Scott W. <or...@gm...> - 2006-02-07 18:02:12
|
(with-output-to-string (s) (let ((*error-output* s)) (abort-on-error (error "foo")))) => I can see that clisp aborts to the toplevel without finishing with-output-to-string, which is why the form returns nothing. I confess to knowing little about common lisp conditions and error handling. How do I wrap a function call so that any errors that occur during the function trigger a backtrace printed to a string, and execution continues as though the function had returned? |