Fix broken URL export

Summary:
Fixes broken export through URL.
Also fixes an issue where we suppress an exception

Reviewed By: mweststrate

Differential Revision: D19517066

fbshipit-source-id: c68b6a1bcbc8b0588e0db9032268033a42b43c61
This commit is contained in:
Pritesh Nandgaonkar
2020-01-22 10:05:54 -08:00
committed by Facebook Github Bot
parent 5a19004732
commit d31ea742f5
3 changed files with 42 additions and 22 deletions

View File

@@ -607,7 +607,7 @@ export async function exportStore(
export const exportStoreToFile = (
exportFilePath: string,
store: Store,
store: MiddlewareAPI,
idler?: Idler,
statusUpdate?: (msg: string) => void,
): Promise<{errorArray: Array<Error>}> => {