Update db_calls.py
This commit is contained in:
parent
aeaedadeb7
commit
8feaf3f44d
@ -1,5 +1,4 @@
|
||||
import aiohttp
|
||||
import requests
|
||||
import logging
|
||||
import pybaseball as pb
|
||||
|
||||
@ -107,7 +106,8 @@ async def url_get(url: str, timeout: int = 3):
|
||||
log_return_value(log_string)
|
||||
return r
|
||||
else:
|
||||
logging.error(r.text())
|
||||
e = await r.text()
|
||||
logging.error(e)
|
||||
raise ValueError(f'DB: {r.text()}')
|
||||
|
||||
# retries = 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user