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