python-lsp / python-lsp-server

Fork of the python-language-server project, maintained by the Spyder IDE team and the community
MIT License
1.95k stars 194 forks source link

Use `%r` to have a better log #584

Closed tebeka closed 3 months ago

tebeka commented 4 months ago

When writing a client, I got the error:

2024-07-24 11:35:19,459 IDT - WARNING - pylsp._utils - Path  not in /home/miki/work/autokitteh/src/playground/lsp/nlp

The path was empty, changed the log to use %r so empty string will be printed as ''.

ccordoba12 commented 4 months ago

Hey @tebeka, thanks for your contribution! Please rebase your branch on top of the latest develop one to get the fixes to our tests.

tebeka commented 4 months ago

Please rebase your branch on top of the latest develop one to get the fixes to our tests.

Done