EODAG ssl error are not correctly catched
Sometimes, an error occurs in EODAG: [SSL: CERTIFICATE_VERIFY_FAILED]
This error is printed in the log:
INFO - Processing tile 48PTV (4/120)
INFO - 10 remote S1 products returned in page 1: [EOProduct(id=S1A_IW_GRDH_1SDV_20240402T230140_20240402T230205_053261_067497_420E, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240329T112102_20240329T112127_053196_06721D_AB37, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240329T112037_20240329T112102_053196_06721D_0611, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240328T225345_20240328T225410_053188_0671CD_7BB5, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240328T225320_20240328T225345_053188_0671CD_9893, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240321T230140_20240321T230205_053086_066E03_C331, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240317T112102_20240317T112127_053021_066B71_D0EA, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240317T112037_20240317T112102_053021_066B71_A00E, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240316T225345_20240316T225410_053013_066B1C_8351, provider=peps), EOProduct(id=S1A_IW_GRDH_1SDV_20240316T225320_20240316T225345_053013_066B1C_4938, provider=peps)]
INFO - Downloading images related to 48PTV took 3.9511918141506612sec
WARNING - Cannot download S1 images associated to 48PTV: Cannot request products for tile 48PTV on data provider: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)>
INFO - Processing of tile 48PTV took 3.9527020291425288sec
INFO - Processing tile 48PUA (5/120)
But, at the end of the job (SLURM on CNES HPC), the exit status is 0 (COMPLETED). It should return a non-zeros status.