Skip to content

Commit

Permalink
try to get infos
Browse files Browse the repository at this point in the history
  • Loading branch information
anikaweinmann committed May 31, 2024
1 parent 943b536 commit af295b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion DSM/HE/HE_DSM_tindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ def check_url(url):
except URLError:
tries = 100
pass
except Exception:
except Exception as e:
if tries == 14:
print(e)
pass
tries += 1
sleep(15)
Expand Down
3 changes: 2 additions & 1 deletion DTM/HE/HE_DTM_tindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,9 @@ def check_url(url):
except URLError:
tries = 100
pass
except Exception:
except Exception as e:
if tries == 14:
print(e)
pass
tries += 1
sleep(15)
Expand Down

0 comments on commit af295b7

Please sign in to comment.