If you can be sacked for a bug, then the employment laws in the country you live in are fucked.
Never, ever heard of somebody losing their job for introducing a bug; pointless post.
Depends on how you define a "bug". You can get fired for pushing the wrong things to production: dev.to/jake/comment/21m9
That's not a bug, that's intentionally being a dick to someone then accidentally pushing your stupid, mean prank to production. Not even close to a bug...
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.