In 1947 when engineers tried to identify why the Harvard Mark II computer was not working and found a moth interfering with the relay it was noted as the “first actual case of bug being found" (the term ‘bug’ in engineering predates this incident by many decades).