From bc2621f45f63e4eb7e7692cb7fbd1883705609d1 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 5 Jul 2019 14:20:16 -0400 Subject: [PATCH] log httpclient send exceptions --- src/Icons/Services/IconFetchingService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Icons/Services/IconFetchingService.cs b/src/Icons/Services/IconFetchingService.cs index 3edda71e12..e158d8f8a1 100644 --- a/src/Icons/Services/IconFetchingService.cs +++ b/src/Icons/Services/IconFetchingService.cs @@ -299,8 +299,9 @@ namespace Bit.Icons.Services { return await _httpClient.SendAsync(message); } - catch + catch(Exception e) { + _logger.LogError(e, "SendAsync() failed."); return null; } }