Skip to content

Commit 2d13b9f

Browse files
committed
Bug fix Gemini markets if error
1 parent 18c8e8e commit 2d13b9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ExchangeSharp/API/Exchanges/Gemini/ExchangeGeminiAPI.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ protected internal override async Task<IEnumerable<ExchangeMarket>> OnGetMarketS
172172
}
173173
catch (Exception ex)
174174
{
175+
markets.Clear();
175176
Logger.Error(ex, "Failed to parse gemini symbol metadata web page, falling back to per symbol query...");
176177
}
177178

0 commit comments

Comments
 (0)