From 4e9fdb340cf42d468de8ddcc1042bd73dbf6ed83 Mon Sep 17 00:00:00 2001 From: Tim Hughes Date: Wed, 20 Sep 2023 08:35:05 -0700 Subject: [PATCH] set httpClient so that an exception is not thrown when reporting to Rollbar --- .../LambdaSharp.Core/LoggingStreamAnalyzerFunction/Function.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/LambdaSharp.Core/LoggingStreamAnalyzerFunction/Function.cs b/Modules/LambdaSharp.Core/LoggingStreamAnalyzerFunction/Function.cs index 740b8274..c0e66cae 100644 --- a/Modules/LambdaSharp.Core/LoggingStreamAnalyzerFunction/Function.cs +++ b/Modules/LambdaSharp.Core/LoggingStreamAnalyzerFunction/Function.cs @@ -137,7 +137,7 @@ public override async Task InitializeAsync(LambdaConfig config) { _registrations = new RegistrationTable(dynamoClient, tableName); _cachedRegistrations = new Dictionary(); _rollbarClient = new RollbarClient( - httpClient: null, + httpClient: HttpClient, accountReadAccessToken: null, accountWriteAccessToken: null, message => LogInfo(message)