added chat messages for errors in the listen loop