How? Coding agents are trained on every copy of every tutorial that skips error checking and implements the least resistance path.
I mean I would hope at least one person actually reviews the code before it goes out, but yeah we all know what hope does :)
I find that the code AI likes to write actually checks for “errors” too often when often you wouldn’t even want to do that. You don’t need to check every dictionary access and come up with a default value for example