That's nuts.. if 3 lines of code can legitimately save you from diagnosing that kind of pain, then it's a small price to pay.

Noted for future ref.