tweaking logRuntimeErrors() to better capture Runtime Errors
encountered by spawn'ed expect scripts