From c38b1ad3a9ab24ce0d3922ea86946d8c35cc1eb5 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 25 Jun 2016 21:03:17 +0200 Subject: [PATCH] a new comment :-) --- testOauthClient/Controllers/HomeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testOauthClient/Controllers/HomeController.cs b/testOauthClient/Controllers/HomeController.cs index a8588369..db43ac18 100755 --- a/testOauthClient/Controllers/HomeController.cs +++ b/testOauthClient/Controllers/HomeController.cs @@ -34,7 +34,7 @@ namespace testOauthClient.Controllers get { var claim = HttpContext.User?.FindFirst("access_token"); if (claim == null) { - throw new InvalidOperationException(); + throw new InvalidOperationException("no access_token"); } return claim.Value;