changed error listing in database to add to db only when a new error is detected and not already in the list!