The first computer bug was a literal bug.

To be exact, a moth.

On Sept 9, 1947, a moth got trapped in Harvard University's Mark II computer -- causing multiple errors.

This bug disrupted the electronics inside the Mark II.

Here's a photo of that first computer bug.

@atomicpoet some insight from someone that writes code to help manufacture microprocessors; This is a great story and a great pun. Having a moth in a relay is literally a computer bug, not to be confused with a bug in software. A literal bug in software that fulfills the requirement for a pun would need a line of code such as >> if('moth'): where 'moth' is not an argument that can be parsed by if() thus causing an error in execution, introduced by a literal moth in the code, get it ... literal