DEV Community

Discussion on: What's the dumbest bug you caused yourself

Collapse
 
ben profile image
Ben Halpern

One time I was writing some code and I heard the Mac trash can sound in my headphones and it confused me for a second, but I kind of shrugged it off. A little later I went to commit some code to production and it was a tiny fix and I did git add . and made the push without thinking much. Then I went off to do some other things.

A little later I notice that A CRITICAL IMAGE IS MISSING and that's when I realized what the trash can sound was. I accidentally sent something to the trash as my computer lagged and I clicked some keys while it was frozen.

I HEARD THE TRASH CAN sound and when I put two and two together it was major face palm.

Very sloppy.

Collapse
 
ptasker profile image
Peter Tasker

Lol, yeah the trash can sound is never good...

Collapse
 
frosnerd profile image
Frank Rosner

Neither is git add . :P