enhance error regex for traceback, include module/function where error occurs