codeintel: better error logging for exceptions in the oop driver