mirror of
https://github.com/ranaroussi/yfinance.git
synced 2024-01-29 09:38:56 +03:00
Ticker.history() to raise HTTP request excs if raise_errors args is True
This commit is contained in:
@@ -218,7 +218,8 @@ class TickerBase:
|
||||
|
||||
data = data.json()
|
||||
except Exception:
|
||||
pass
|
||||
if raise_errors:
|
||||
raise
|
||||
|
||||
# Store the meta data that gets retrieved simultaneously
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user