Esempio n. 1
0
 public static async Task CleanupRestoreAsync(BackupHandler handler, Guid appId, Guid id, ISemanticLog log)
 {
     try
     {
         await handler.CleanupRestoreAsync(appId);
     }
     catch (Exception ex)
     {
         log.LogError(ex, id.ToString(), (logOperationId, w) => w
                      .WriteProperty("action", "cleanupRestore")
                      .WriteProperty("status", "failed")
                      .WriteProperty("operationId", logOperationId));
     }
 }