Skip to content

Commit

Permalink
added logging for finished hook
Browse files Browse the repository at this point in the history
  • Loading branch information
dei79 committed Nov 10, 2023
1 parent 915364c commit 375187d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions backup.runner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@
await TableBackupClient.BackupAsync(manifestItem, loggerFactory);

// trigger the finished hook if needed
if (!String.IsNullOrEmpty(manifestItem.FinishedHook))
if (!String.IsNullOrEmpty(manifestItem.FinishedHook))
{
logger.LogInformation($"Triggering finished hook {manifestItem.FinishedHook}");
await HookTrigger.TriggerHookAsync(manifestItem.FinishedHook);

}

} else if (manifestItem.Operation == OperationType.Restore && manifestItem.Storage == StorageType.Table)
{
await TableBackupClient.RestoreAsync(manifestItem, loggerFactory);
Expand Down

0 comments on commit 375187d

Please sign in to comment.