Return 403 instead of the view if we can’t get a response out of netbox

This commit is contained in:
Jeff Leung 2023-01-08 15:07:13 -08:00
parent 9fdc60ac48
commit ab2793d92a
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace AS1024.CommunityDocumentationPage.Controllers
_logger.LogError($"Failed to obtain data\n{ex}");
}
return View();
return Forbid();
}
public IActionResult Privacy()