Skip to content

Commit f55fa52

Browse files
committed
Small bug
1 parent 499d6db commit f55fa52

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/main/java/com/exceptionless/exceptionlessclient/configuration/ConfigurationManager.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public class ConfigurationManager {
4545
@Getter private PrivateInformationInclusions privateInformationInclusions;
4646
private Set<String> dataExclusions;
4747
private PluginManager pluginManager;
48+
@Getter private StorageProviderIF storageProvider;
4849

4950
@Builder
5051
public ConfigurationManager(
@@ -77,13 +78,18 @@ public ConfigurationManager(
7778
requestInfoCollector == null
7879
? DefaultRequestInfoCollector.builder().log(this.log).build()
7980
: requestInfoCollector;
81+
this.storageProvider =
82+
storageProvider == null
83+
? InMemoryStorageProvider.builder().maxQueueItems(maxQueueItems).build()
84+
: storageProvider;
8085
this.settingsManager =
8186
SettingsManager.builder()
8287
.settingsClient(
8388
settingsClient == null
8489
? DefaultSettingsClient.builder().configuration(this.configuration).build()
8590
: settingsClient)
8691
.log(log)
92+
.storageProvider(this.storageProvider)
8793
.build();
8894
this.userAgentBotPatterns = new HashSet<>();
8995
this.configuration =
@@ -102,10 +108,7 @@ public ConfigurationManager(
102108
.configuration(this.configuration)
103109
.log(this.log)
104110
.processingIntervalInSecs(processingIntervalInSecs)
105-
.storageProvider(
106-
storageProvider == null
107-
? InMemoryStorageProvider.builder().maxQueueItems(maxQueueItems).build()
108-
: storageProvider)
111+
.storageProvider(this.storageProvider)
109112
.submissionClient(this.submissionClient)
110113
.build()
111114
: queue;

0 commit comments

Comments
 (0)