Listen for error messages.