martin-ueding / vigilant-crypto-snatch

A little program that observes the current market price for your choice of currency pairs, looks for drastic reductions (dips) and then places buy orders.
https://martin-ueding.github.io/vigilant-crypto-snatch/
21 stars 5 forks source link

ReadTimeout are duplicated #21

Closed martin-ueding closed 3 years ago

martin-ueding commented 3 years ago

Somehow each ReadTimeout sends out two notifications:

🟠 We have had a read timeout, likely just a temporary internet or API availability glitch.Details: HTTPSConnectionPool(host='api.kraken.com', port=443): Read timed out. (read timeout=None)
🟠 An exception of type <class 'requests.exceptions.ReadTimeout'> has occurred: HTTPSConnectionPool(host='api.kraken.com', port=443): Read timed out. (read timeout=None)

This is redundant and should be simplified.

martin-ueding commented 3 years ago

I simply had a manual and automatic call, I removed the automatic handler.