Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.
Merged
Changes from all 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
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,12 @@ public async Task ProcessAsync(HttpRequest httpRequest, HttpResponse httpRespons
// write the response, potentially serializing the InvokeResponse
await HttpHelper.WriteResponseAsync(httpResponse, invokeResponse).ConfigureAwait(false);
}
catch (UnauthorizedAccessException)
catch (UnauthorizedAccessException ex)
{
// handle unauthorized here as this layer creates the http response
httpResponse.StatusCode = (int)HttpStatusCode.Unauthorized;

Logger.LogError(ex.ToString());
}
}
}
Expand Down