In the early days of computers, the first documented computer bug was a "
moth" that had short-circuited a switch in a computer circuit.
The first bug was documented by
Grace Hopper (first computer bug) , though the term bug goes back further than computers.