Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ApiService/ApiService/onefuzzlib/notifications/Ado.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public async Async.Task NotifyAdo(AdoTemplate config, Container container, strin
var ado = await AdoConnector.AdoConnectorCreator(_context, container, filename, config, report, _logTracer);
await ado.Process(notificationInfo);
} catch (Exception e)
when (e is VssAuthenticationException || e is VssServiceException) {
when (e is VssUnauthorizedException || e is VssAuthenticationException || e is VssServiceException) {
var _ = config.AdoFields.TryGetValue("System.AssignedTo", out var assignedTo);
if (e is VssAuthenticationException && !string.IsNullOrEmpty(assignedTo)) {
if ((e is VssAuthenticationException || e is VssUnauthorizedException) && !string.IsNullOrEmpty(assignedTo)) {
notificationInfo = notificationInfo.AddRange(new (string, string)[] { ("assigned_to", assignedTo) });
}

Expand Down