datasets / covid-19

Novel Coronavirus 2019 time series data on cases
https://datahub.io/core/covid-19
1.16k stars 604 forks source link

use [try - except] blocks around connection statements #76

Closed zomorrod2020 closed 4 years ago

zomorrod2020 commented 4 years ago

hello, please use [try - except] blocks around codes specially connections. and set execute again if one part raise exception.

sglavoie commented 4 years ago

We will improve our current solution as I mentioned in #75. This is indeed very good practice!

However, the connectivity issue is unrelated to the code: we are facing a timeout issue with GitHub Actions because the script takes too long to process. This is an optimization problem only. Still, your suggestion will definitely be applied in our next iteration of the code. :+1: