Skip to content

Commit cf54ed6

Browse files
Merge pull request #55 from tintoy/fix/log-handler-type
Log correct type for handler interface.
2 parents 61c4255 + 9deafea commit cf54ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Matchers/TextDocumentMatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private IEnumerable<ILspHandlerDescriptor> GetHandler(IEnumerable<ILspHandlerDes
8282
_logger.LogTrace("Document Selector {DocumentSelector}", registrationOptions.DocumentSelector.ToString());
8383
if (registrationOptions.DocumentSelector == null || registrationOptions.DocumentSelector.IsMatch(attributes))
8484
{
85-
_logger.LogTrace("Handler Selected: {Handler} via {DocumentSelector} (targeting {HandlerInterface})", handler.Handler.GetType().FullName, registrationOptions.DocumentSelector.ToString(), handler.HandlerType.GetType().FullName);
85+
_logger.LogTrace("Handler Selected: {Handler} via {DocumentSelector} (targeting {HandlerInterface})", handler.Handler.GetType().FullName, registrationOptions.DocumentSelector.ToString(), handler.HandlerType.FullName);
8686
yield return handler;
8787
}
8888
}

0 commit comments

Comments
 (0)