We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e2b078 commit 3340257Copy full SHA for 3340257
1 file changed
core/src/main/java/dev/faststats/SimpleContext.java
@@ -53,7 +53,7 @@ protected SimpleContext(final Factory<?, ?> factory, final Config config, final
53
54
@MustBeInvokedByOverriders
55
protected final void initializeServices(final Factory<?, ?> factory) throws IllegalStateException {
56
- if (factory.metrics == null && factory.errorTracker == null && factory.featureFlagService == null)
+ if (factory.metrics == null && factory.errorTracker == null && factory.featureFlagService == null && factory.performanceAnalyzer == null)
57
throw new IllegalStateException("Context created without any service attached, was this intentional?");
58
59
this.metrics = config.submitMetrics() && factory.metrics != null ? factory.metrics.apply(metricsFactory()) : null;
0 commit comments