Update the text to be clear that the export was successfull
Summary: This diff adds the capability to show the plugin names for which flipper failed to fetch metadata. These changes are done for both export as URL and export as File. This diff also fixes the logging for the export as a file and logs the result object in scuba. Reviewed By: jknoxville Differential Revision: D20724860 fbshipit-source-id: 4c9591267ca05045e0ed084804d96851c9d7636d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
22b3e89ce5
commit
4e3c06cd54
@@ -182,8 +182,10 @@ async function exitActions(
|
||||
);
|
||||
outputAndExit(payload);
|
||||
} else {
|
||||
const {serializedString, errorArray} = await exportStore(store);
|
||||
errorArray.forEach(console.error);
|
||||
const {serializedString, fetchMetaDataErrors} = await exportStore(
|
||||
store,
|
||||
);
|
||||
console.error('Error while fetching metadata', fetchMetaDataErrors);
|
||||
outputAndExit(serializedString);
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user