FluidFramework icon indicating copy to clipboard operation
FluidFramework copied to clipboard

Handle floating fetchSnapshot promise in ODSP driver

Open arinwt opened this issue 5 years ago • 0 comments

In getVersions within OdspDocumentStorageManager, if we have a cached snapshot already, we don't await the fetchSnapshot promise, which leads to unhandled promise rejections when it fails. Specifically, we are seeing server 404s failing and not being handled.

I think at minimum, we can add an else case to disregard the rejection (since the inner function does already do some logging on error). Or we can add more logging at this layer in the else scenario.

arinwt avatar Apr 08 '21 20:04 arinwt