From 1a49fc8251a2ae43f12423035d1d7f527a70cab4 Mon Sep 17 00:00:00 2001 From: JKorf Date: Sat, 8 Feb 2025 14:25:19 +0100 Subject: [PATCH] Fix exception when creating rest client for mono runtime --- CryptoExchange.Net/Requests/RequestFactory.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CryptoExchange.Net/Requests/RequestFactory.cs b/CryptoExchange.Net/Requests/RequestFactory.cs index 91bb97c..83a5dc7 100644 --- a/CryptoExchange.Net/Requests/RequestFactory.cs +++ b/CryptoExchange.Net/Requests/RequestFactory.cs @@ -46,6 +46,7 @@ namespace CryptoExchange.Net.Requests handler.DefaultProxyCredentials = CredentialCache.DefaultCredentials; } catch (PlatformNotSupportedException) { } + catch (NotImplementedException) { } // Mono runtime throws NotImplementedException if (proxy != null) {