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 0ab454f commit bbcf40cCopy full SHA for bbcf40c
packages/core/src/plugins/QueueFlushingPlugin.ts
@@ -84,15 +84,15 @@ export class QueueFlushingPlugin extends UtilityPlugin {
84
}
85
} catch (e) {
86
// If the queue is not restored before the timeout, we will notify but not block flushing events
87
- this.analytics?.reportInternalError(
88
- new SegmentError(
89
- ErrorType.InitializationError,
90
- 'Queue restoration timeout',
91
- e
92
- )
93
- );
94
-
95
if (this.timeoutWarned === false) {
+ this.analytics?.reportInternalError(
+ new SegmentError(
+ ErrorType.InitializationError,
+ 'Queue restoration timeout',
+ e
+ )
+ );
+
96
this.analytics?.logger.warn(
97
'Flush triggered but queue restoration and settings loading not complete. Flush will be retried.',
98
e
0 commit comments