Dalleon commited on
Commit
b4ccf0c
1 Parent(s): 60ffb98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -49,7 +49,9 @@ while True:
49
 
50
  except requests.exceptions.HTTPError as http_err:
51
  print(f'HTTP error occurred: {http_err}')
 
52
  except requests.exceptions.RequestException as req_err:
53
  print(f'Request error occurred: {req_err}')
 
54
 
55
  time.sleep(120) # 120 seconds
 
49
 
50
  except requests.exceptions.HTTPError as http_err:
51
  print(f'HTTP error occurred: {http_err}')
52
+ result_string += f'\n\nHTTP error occurred: {http_err}'
53
  except requests.exceptions.RequestException as req_err:
54
  print(f'Request error occurred: {req_err}')
55
+ result_string += f'\n\nRequest error occurred: {req_err}'
56
 
57
  time.sleep(120) # 120 seconds