I'm not saying you should shrug it off - I'm saying you should't have your life ruined over a mistake in some code you wrote.
I'm yet to see a building collapse around me in my city - I see software fail all the time though - I think we are better at building tall buildings than we are building software.