People are fucking stupid in real world. Logan makes a foolish decision, consistent with his characterization, and the rest pay the consequences for it. That's not bad writing, that's just... reality.
It's like saying that The Three Little Pigs is bad writing because no one should make a straw house.