Skip to content

Commit b345e54

Browse files
author
PatrickAlphaVantage
committed
Added string in addition to Alpha Vantage error response
1 parent 9b169bc commit b345e54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pandas_datareader/av/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,10 @@ def _read_lines(self, out):
7878
".".format(self.symbols)
7979
)
8080
else:
81-
raise RemoteDataError(out)
81+
raise RemoteDataError(
82+
" Their was an issue from the data vendor "
83+
"side, here is their response: {}".format(out)
84+
)
8285
df = df[sorted(df.columns)]
8386
df.columns = [id[3:] for id in df.columns]
8487
return df

0 commit comments

Comments
 (0)