ob-async
ob-async copied to clipboard
Handle errors of code blocks and return them to the user
During the execution of code-blocks some errors could go unnoticed. This PR adds code that will return an error description to the user. With this the following code blocks should return error messages instead of silently failing:
#+BEGIN_SRC emacs-lisp :async
(error "somewhere an error was signaled")
#+END_SRC
#+begin_src sh :results output :async
echo something went wrong >&2
false
#+end_src
#+begin_src python :async
raise NotImplementedError
#+end_src
See the individual commits for details.
And thanks for this awesome package.
This should also fix #81.
I would love to see this merged!