http://www.perlmonks.org?node_id=466020


in reply to Re: Error handling - how much?
in thread Error handling - how much/where/how?

Amen brother.

And I hit an excellent example of that recently. I was writing a webpage in which 70 odd input elements had to be submitted. Mozilla was GETting the result with no problems, but when I switched to Internet Explorer I had a problem. If I typed no text in my form I could submit it. But if I typed text in my form, IE would sit there blankly while I pressed my submit button.

Searched through the internet: discovered that I was constructing a URL in IE that was too long. So changed the method to "POST" and could resume programming, a day later.

It would have been far better if IE said "Can't submit, attempting to go to a URL that is too long" than just sit there! I didn't know what was happening, whether I found an undetected bug in IE or my javascript was wrong etc etc.

So die.. die ungracefully, or error someone.. let the world know that something unexpected happened!