-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Suppress reporting of javascript errors #10042
Comments
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
vbcam....@gmail.com commented:
|
Genotip7@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
ariya.hi...@gmail.com commented:
|
Hello, any movement on this? I am having the same problem. I scrape quite a few pages but there are js errors on those pages. The errors have no effect on what I'm grabbing however the error outputs to my return array and really hoses things up. This pretty much kills my ability to use this. I'm using the latest version of PJS. |
@JerWegener You can suppress all of that, you just have to write some code to do it, and it's a little more complicated than it would ideally be:
For a complete worked example see https://github.com/zackw/tbbscraper/blob/master/scripts/pj-trace-redir.js (which does a lot of other stuff -- look for |
@zackw Wow thanks for the quick reply on this. I will check it out and see how to integrate that into my scripts. |
vbcam....@gmail.com commented:
Disclaimer:
This issue was migrated on 2013-03-15 from the project's former issue tracker on Google Code, Issue #42.
🌟 3 people had starred this issue at the time of migration.
The text was updated successfully, but these errors were encountered: