error check on greenlet error