Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Error message could be more helpful. #223

Open
spazm opened this issue May 8, 2017 · 0 comments
Open

Error message could be more helpful. #223

spazm opened this issue May 8, 2017 · 0 comments

Comments

@spazm
Copy link
Contributor

spazm commented May 8, 2017

nigel.ho...@gmail.com reported on Apr 24, 2013

What steps will reproduce the problem?
1. Run my program
2.
3.

What is the expected output? What do you see instead?

A helpful error message. There is no form numbered 1 at /Users/hornenj/perl5/perlbrew/perls/perl-5.16.3/lib/site_perl/5.16.3/WWW/Mechanize.pm line 1900, <DATA> line 165.

What version of the product are you using? On what operating system?
1.72.  MacOS/X
Please provide any additional information below.

I understand the message and why I get it, the problem is that I talk to 5 different URLs and I don't know which is failing and when in the loop.  So, please would you enhance the message to give the URL, something like:

'There is no form numbered 1 on http://www.example.com at..."

Details

Imported from Google Code issue 246 via archive

  • Type: Defect
  • Date: Apr 24, 2013
  • Reporter: nigel.ho...@gmail.com
  • Owner: ----
  • Priority: Medium
  • Status: New

Comments

nigel.ho...@gmail.com commented on Apr 24, 2013 :

This should be of type 'enhancement', but I can't see a way of changing the type :-(
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant