Adding error handling to marking as unread.