public async Task DeleteAsset(string id) { await _blob.Delete(id); try { await _blob.Delete($"{id}-s"); } catch { } }
public async Task CleanupQueue(string path) { try { await _blobQueue.Delete(path); } catch (Exception ex) { await _log.Save(new OrchestrationLog() { Level = LogLevel.Error, Message = $"Failed to remove blob to queue: {path}", }); throw new OrchestrationException(OrchestrationErrorType.QueueCleanupError, $"{path} | {ex.Message}"); } }