From aff59166033e1c620f1a63e99c5b5263c22bccd2 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 20 Mar 2019 17:23:27 +0000 Subject: [PATCH] log app id when not found --- src/Yavsc/Startup/Startup.OAuthHelpers.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Yavsc/Startup/Startup.OAuthHelpers.cs b/src/Yavsc/Startup/Startup.OAuthHelpers.cs index 0aee7770..da0bef2e 100644 --- a/src/Yavsc/Startup/Startup.OAuthHelpers.cs +++ b/src/Yavsc/Startup/Startup.OAuthHelpers.cs @@ -21,7 +21,7 @@ namespace Yavsc logger.LogError("no db!"); Client app = _dbContext.Applications.FirstOrDefault(x => x.Id == clientId); if (app==null) - logger.LogError("no app!"); + logger.LogError($"no app for <{clientId}>"); return app; } private readonly ConcurrentDictionary _authenticationCodes = new ConcurrentDictionary(StringComparer.Ordinal);