print("Error getting proxies", e)
Browse files
App/Chat/PoeChatrouter.py
CHANGED
|
@@ -40,7 +40,7 @@ async def fetch_predictions(data):
|
|
| 40 |
anonymities=[Anonymities.ELITE],
|
| 41 |
)
|
| 42 |
except Exception as e:
|
| 43 |
-
print(e)
|
| 44 |
|
| 45 |
async with ClientSession() as session:
|
| 46 |
for p in proxies:
|
|
@@ -59,7 +59,7 @@ async def fetch_predictions(data):
|
|
| 59 |
proxy = str(p)
|
| 60 |
return await response.json(), response.status
|
| 61 |
except Exception as e:
|
| 62 |
-
print(e)
|
| 63 |
pass
|
| 64 |
proxy = ""
|
| 65 |
|
|
|
|
| 40 |
anonymities=[Anonymities.ELITE],
|
| 41 |
)
|
| 42 |
except Exception as e:
|
| 43 |
+
print("Error getting proxies", e)
|
| 44 |
|
| 45 |
async with ClientSession() as session:
|
| 46 |
for p in proxies:
|
|
|
|
| 59 |
proxy = str(p)
|
| 60 |
return await response.json(), response.status
|
| 61 |
except Exception as e:
|
| 62 |
+
print("Error fetching", e)
|
| 63 |
pass
|
| 64 |
proxy = ""
|
| 65 |
|