Return 403 instead of the view if we can’t get a response out of netbox
This commit is contained in:
parent
9fdc60ac48
commit
ab2793d92a
|
|
@ -34,7 +34,7 @@ namespace AS1024.CommunityDocumentationPage.Controllers
|
|||
_logger.LogError($"Failed to obtain data\n{ex}");
|
||||
}
|
||||
|
||||
return View();
|
||||
return Forbid();
|
||||
}
|
||||
|
||||
public IActionResult Privacy()
|
||||
|
|
|
|||
Loading…
Reference in New Issue