Lesson is never attempt to do anything on a Friday afternoon that will take far more time for recovery.
For me personally the much bigger issue would be harming the client, their business or our relationship. Doing a few hours of overtime to fix my mistakes would probably only feel as well deserved punishment...