gautamsi / ews-javascript-api

EWS API for TypeScript/JavaScript - ported from OfficeDev/ews-managed-api - node, cordova, meteor, Ionic, Electron, Outlook Add-Ins
MIT License
281 stars 72 forks source link

PropertyBag: Separately try each property load, so failed loads don't interfere with others #402

Closed bijection closed 2 years ago

bijection commented 2 years ago

In my case, a bug in EntityExtractionResult was causing many other properties to come up empty.

While fixing the EntityExtractionResult bug would also solve my problem, I don't actually need EntityExtractionResult.

This change should allow the library to fail more gracefully in cases like this.

gautamsi commented 2 years ago

thanks