diff --git a/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs b/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs index f7d95da..6d7acd6 100644 --- a/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs +++ b/src/ReC.Application/RecActions/Commands/InvokeRecActionCommand.cs @@ -46,6 +46,15 @@ public class InvokeRecActionCommandHandler(ISender sender, IHttpClientFactory cl var body = await response.Content.ReadAsStringAsync(cancel); var headers = response.Headers.ToDictionary(); } + catch(Exception ex) + { + logger?.LogError( + ex, + "Error invoking Rec action. ProfileId: {ProfileId}, ActionId: {ActionId}", + action.ProfileId, + action.ActionId + ); + } finally { semaphore.Release();