Create a partial universal export in case of errors
Summary: Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit# Attach what we can to the universal export file if any of the steps time out CHANGELOG: Add a universal debug export button Reviewed By: passy Differential Revision: D40552235 fbshipit-source-id: 775afccacf053fbcf764d1f39e93a89ad20dee0a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e886427003
commit
2289d6c0e2
@@ -471,9 +471,7 @@ function ExportEverythingEverywhereAllAtOnceButton() {
|
||||
<p>Exporting Flipper debug files from all devices...</p>
|
||||
<p>It could take a long time!</p>
|
||||
<p>Let's count sheep while we wait: {sheepCount++}.</p>
|
||||
<p>
|
||||
Scream for help if the sheep count reaches 42, but not earlier.
|
||||
</p>
|
||||
<p>We'll skip it automatically if it exceeds 3 minutes.</p>
|
||||
</>,
|
||||
);
|
||||
};
|
||||
@@ -491,14 +489,14 @@ function ExportEverythingEverywhereAllAtOnceButton() {
|
||||
<p>Exporting Flipper state...</p>
|
||||
<p>It also could take a long time!</p>
|
||||
<p>This time we could count dinosaurs: {dinosaursCount++}.</p>
|
||||
<p>You already know what to do when the counter reaches 42.</p>
|
||||
<p>We'll skip it automatically if it exceeds 2 minutes.</p>
|
||||
</>,
|
||||
);
|
||||
};
|
||||
|
||||
setStateExportMessage();
|
||||
|
||||
const interval = setInterval(setStateExportMessage, 1000);
|
||||
const interval = setInterval(setStateExportMessage, 2000);
|
||||
return () => clearInterval(interval);
|
||||
}
|
||||
case 'archive': {
|
||||
|
||||
Reference in New Issue
Block a user