You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Horde: Catch and log exceptions from issue report sending
#rb Ben.Marsh #preflight none [CL 22336000 by carl bystrom in ue5-main branch]
This commit is contained in:
@@ -742,7 +742,15 @@ namespace Horde.Build.Notifications
|
||||
{
|
||||
foreach (INotificationSink sink in _sinks)
|
||||
{
|
||||
await sink.SendIssueReportAsync(report);
|
||||
try
|
||||
{
|
||||
await sink.SendIssueReportAsync(report);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
string streamsWithChannel = String.Join(", ", report.Reports.Select(x => x.Stream.Name + " " + x.TriageChannel));
|
||||
_logger.LogError(e, "Failed sending issue report to {Channel} for streams/channels {StreamsWithChannels})", report.Channel, streamsWithChannel);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user