Skip to content

Commit

Permalink
Add log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
William Applegate committed Dec 14, 2023
1 parent 9be5870 commit 9c012fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GitHubWebhookResource/Out/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@
}
Console.Error.WriteLine("Attempting to update the webhook...");
await service.UpdateWebhook(payload, webhook.Id.Value);
Console.Error.WriteLine("Webhook updated successfully.");
}
else
{
Console.Error.WriteLine("Attempting to create the webhook...");
await service.CreateWebhook(payload);
Console.Error.WriteLine("Webhook created successfully.");
}

var created = DateTime.UtcNow;
Expand Down

0 comments on commit 9c012fa

Please sign in to comment.