How do you not beat yourself up over causing an outage.

Recently caused a sev 1 outage that impacted a few hundred users. It was able to be corrected in a few hours but the app was not usable during it.

My manager was really cool about it, and is just focusing on the process about putting guardrails in place so it can’t happen again.

I find myself ruminating on it quite a bit, and feeling embarrassed, as in my 13 years as a dev it’s only happened 1 other time. I’m also somewhat new ish to this company so I’m hoping this doesn’t impact my reputation.