fix(log): log the page reload from one place
This commit is contained in:
parent
4b1dfb9a33
commit
d256bc317a
|
@ -370,11 +370,6 @@ class ConferenceConnector {
|
||||||
|
|
||||||
case ConferenceErrors.FOCUS_LEFT:
|
case ConferenceErrors.FOCUS_LEFT:
|
||||||
case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
|
case ConferenceErrors.VIDEOBRIDGE_NOT_AVAILABLE:
|
||||||
// Log the page reload event
|
|
||||||
// FIXME (CallStats - issue) this event will not make it to
|
|
||||||
// the CallStats, because the log queue is not flushed, before
|
|
||||||
// "fabric terminated" is sent to the backed
|
|
||||||
APP.conference.logEvent('page.reload');
|
|
||||||
// FIXME the conference should be stopped by the library and not by
|
// FIXME the conference should be stopped by the library and not by
|
||||||
// the app. Both the errors above are unrecoverable from the library
|
// the app. Both the errors above are unrecoverable from the library
|
||||||
// perspective.
|
// perspective.
|
||||||
|
|
|
@ -116,6 +116,13 @@ export default {
|
||||||
if (!overlay) {
|
if (!overlay) {
|
||||||
overlay = new PageReloadOverlayImpl(timeoutSeconds);
|
overlay = new PageReloadOverlayImpl(timeoutSeconds);
|
||||||
}
|
}
|
||||||
|
// Log the page reload event
|
||||||
|
if (!this.isVisible()) {
|
||||||
|
// FIXME (CallStats - issue) this event will not make it to
|
||||||
|
// the CallStats, because the log queue is not flushed, before
|
||||||
|
// "fabric terminated" is sent to the backed
|
||||||
|
APP.conference.logEvent('page.reload');
|
||||||
|
}
|
||||||
overlay.show();
|
overlay.show();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue