Skip to content
This repository was archived by the owner on Aug 25, 2025. 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 @@ -12,6 +12,7 @@
using EPiServer.ContentGraph.Helpers.Text;
using EPiServer.ContentGraph.Helpers;
using EPiServer.ContentGraph.Tracing;
using System.Net;

namespace EPiServer.ContentGraph.Api.Querying
{
Expand Down Expand Up @@ -228,6 +229,11 @@ public async Task<ContentGraphResult> GetResultAsync()
}
catch (HttpRequestException e)
{
if (e.StatusCode == HttpStatusCode.Unauthorized)
{
throw e;
}

try
{
return JsonConvert.DeserializeObject<ContentGraphResult>(e.Message);
Expand Down
Loading