The First Computer Bug Was an Insect - Apparently.
In 1947, a team of engineers working on the Harvard Mark II computer were debugging the system when they encountered a problem with the relay system. Upon closer inspection, they found a moth stuck in one of the relays, causing the system to malfunction. The engineers taped the moth to the computer log with the note "First actual case of bug being found" and continued working. This incident marked the origin of the term "computer bug."