Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Fix null pointer in logging. (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaytak authored Sep 19, 2022
1 parent bda2166 commit 04ede99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ private static void LogMessage(IIdentityLogger identityLogger, EventLogLevel lev

//Log to Identity Logger
LogEntry logEntry = new LogEntry() { Message = message, EventLogLevel = level };
identityLogger.Log(logEntry);
identityLogger?.Log(logEntry);
}
}
}

0 comments on commit 04ede99

Please sign in to comment.