emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Errors get suppressed by org-babel-execute-src-block


From: Gary Oberbrunner
Subject: [O] Errors get suppressed by org-babel-execute-src-block
Date: Mon, 8 Feb 2016 14:02:39 -0500

org-babel-execute-src-block has a big unwind-protect that basically eats all errors inside it. I don't think it used to do that. It makes it hard to debug my sql code since I can't figure out where the actual problem is. 

In my case, I'm probably returning no result from some query, and ob-sql is mis-parsing that; but due to the unwind-protect it doesn't give me a stack dump or anything useful, just a "Beginning of buffer" message in *Messages*. And it makes setting debug-on-error not work too.

I'm considering replacing/augmenting that stanza with a condition-case. What do folks here think? Is there a better way?

--
Gary

reply via email to

[Prev in Thread] Current Thread [Next in Thread]