crawl-anywhere icon indicating copy to clipboard operation
crawl-anywhere copied to clipboard

tools_test_scripts.sh never get to see any output of found links

Open bejean opened this issue 10 years ago • 6 comments

When trying to test finding links action with tools_test_scripts.sh, I never get to see any output of found links. Even when hardcoding them. Neither does it show exceptions (after intentionally breaking code).

bejean avatar Dec 14 '14 21:12 bejean

It appears that the broken XML prevented the script from finding links. So I see found links now, but never any exceptions. Even when I break the code.

OkkeKlein avatar Dec 17 '14 11:12 OkkeKlein

I would consider not getting any exceptions a problem. How else can you debug your script?

OkkeKlein avatar Dec 17 '14 11:12 OkkeKlein

Can you provide me an url to a "broken" page ?

bejean avatar Dec 17 '14 12:12 bejean

The page is fixed and in production environment. But for testing you can take any webpage and break the script somewhere. It should give exception then, but I'm not getting it.

OkkeKlein avatar Dec 17 '14 13:12 OkkeKlein

"break the script somewhere" ? Which script ?

bejean avatar Dec 17 '14 13:12 bejean

The script that parses the URL.

OkkeKlein avatar Mar 10 '15 10:03 OkkeKlein