Just blame the coder
I'm sure the culprit really wanted to deliver a shody solution, there was no time or financial pressure whatsoever to deal with. I'm sure that the code in question was tested thoroughly by an independent reviewer and they also where under no pressure. I'm sure that when speaking out about the quality of delivery all of their concerns where taken on board and adequate resources where assigned to resolve issues. I am absolutely certain blame cannot be assigned to anyone in a management position..It's as usual all the coders fault.