Log full exceptions
This commit is contained in:
@ -4,6 +4,7 @@ using Hcs.Broker.MessageCapturer;
|
||||
using Hcs.WebApp.BackgroundServices.OperationExecutors;
|
||||
using Hcs.WebApp.Config;
|
||||
using Hcs.WebApp.Services;
|
||||
using Hcs.WebApp.Utils;
|
||||
using System.Transactions;
|
||||
|
||||
namespace Hcs.WebApp.BackgroundServices
|
||||
@ -45,7 +46,7 @@ namespace Hcs.WebApp.BackgroundServices
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
await headquartersService.SetOperationEndedWithFailAsync(operation.Id, e.Message);
|
||||
await headquartersService.SetOperationEndedWithFailAsync(operation.Id, e.CombineMessages());
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(messageGuid))
|
||||
|
||||
Reference in New Issue
Block a user