You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relatively low priority as ennexOS only errors every few weeks at most, and SEC not at all for several months. Can't hurt though.
By moving most of the webscraper code into a try catch block + while loop as shown in PacificPower branch below, we can improve the reliability of EnnexOS and maybe SEC.
A key thing to note is that "await browser.newPage" is in the try catch block / while loop, which is ultimate failsafe. However, remember that clicking the cookies and logging in does not have to be re-done, so refer to PacificPower code for how to keep track of that with a flag.
Relatively low priority as ennexOS only errors every few weeks at most, and SEC not at all for several months. Can't hurt though.
By moving most of the webscraper code into a try catch block + while loop as shown in PacificPower branch below, we can improve the reliability of EnnexOS and maybe SEC.
A key thing to note is that "await browser.newPage" is in the try catch block / while loop, which is ultimate failsafe. However, remember that clicking the cookies and logging in does not have to be re-done, so refer to PacificPower code for how to keep track of that with a flag.
https://github.com/OSU-Sustainability-Office/automated-jobs/blob/pacific-power/PacificPower/readPP.js#L72
The text was updated successfully, but these errors were encountered: