microsoft / PubSec-Info-Assistant

Information Assistant, built with Azure OpenAI Service, Industry Accelerator
MIT License
264 stars 519 forks source link

Fix error handling in FileDeletion function #668

Closed georearl closed 2 months ago

georearl commented 2 months ago

This PR does 2 things:

  1. If an error is encountered deleting a blob, all subsequent blobs are left. This catches exceptions at the blob level now and continues to the next one.
  2. For some reason the storage container had soft delete disabled, which is required for the delete function to work. This has been added with a retention period of 1 day