Skip to content

Commit 623c750

Browse files
committed
Clear exception if successful init
1 parent 5074538 commit 623c750

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ExchangeSharp/API/Exchanges/_Base/ExchangeAPI.cs

+1
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ public static IExchangeAPI GetExchangeAPI(Type type)
400400
try
401401
{
402402
api.InitializeAsync().Sync();
403+
ex = null;
403404
break;
404405
}
405406
catch (Exception _ex)

0 commit comments

Comments
 (0)