log app id when not found

This commit is contained in:
2019-03-20 17:23:27 +00:00
parent 5d5a3b4d03
commit aff5916603

View File

@ -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<string, string> _authenticationCodes = new ConcurrentDictionary<string, string>(StringComparer.Ordinal);