V13: Log webhook firing exceptions when they happen (#15393)
* Refactor Webhook logging to handle exceptions * Add Exception occured property to WebhookLog.
This commit is contained in:
@@ -25,4 +25,6 @@ public class WebhookLog
|
||||
public string ResponseHeaders { get; set; } = string.Empty;
|
||||
|
||||
public string ResponseBody { get; set; } = string.Empty;
|
||||
|
||||
public bool ExceptionOccured { get; set; }
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
namespace Umbraco.Cms.Core.Models;
|
||||
|
||||
public class WebhookResponseModel
|
||||
{
|
||||
public HttpResponseMessage? HttpResponseMessage { get; set; }
|
||||
|
||||
public int RetryCount { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user