error handling is very basic, the only explanation these kind of bad code to get pushed to prod is LLMs and high trust on LLM automation.
they wont admit this publicly anyway, there is too much money invested on LLMs.