Skip to content

Commit 9b169bc

Browse files
author
PatrickAlphaVantage
committed
Added better error logging for API limit threshold
1 parent 57766a5 commit 9b169bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas_datareader/av/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def _read_lines(self, out):
7878
".".format(self.symbols)
7979
)
8080
else:
81-
raise RemoteDataError()
81+
raise RemoteDataError(out)
8282
df = df[sorted(df.columns)]
8383
df.columns = [id[3:] for id in df.columns]
8484
return df

0 commit comments

Comments
 (0)