If failure, track client type
Summary: Add client type information to client errors Reviewed By: aigoncharov Differential Revision: D50365929 fbshipit-source-id: f1544b3974c5dfa4fc9b3b6229d6ebb6334dc0d9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
51c8881fc7
commit
17103ce1fa
@@ -151,6 +151,7 @@ start().catch((e) => {
|
|||||||
logger.track('success-rate', 'flipper-ui-browser-started', {
|
logger.track('success-rate', 'flipper-ui-browser-started', {
|
||||||
value: 0,
|
value: 0,
|
||||||
error: getStringFromErrorLike(e),
|
error: getStringFromErrorLike(e),
|
||||||
|
pwa: window.matchMedia('(display-mode: standalone)').matches,
|
||||||
});
|
});
|
||||||
window.flipperShowMessage?.('Failed to start UI with error: ' + e);
|
window.flipperShowMessage?.('Failed to start UI with error: ' + e);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user