Auto merge of #3148 - micbou:toggle-logs-extra-data, r=Valloric

[READY] Include extra data when getting the logs

Include the extra conf data to the debug info request when getting the logfiles.

Fixes https://github.com/Valloric/ycmd/issues/1106.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3148)
<!-- Reviewable:end -->
This commit is contained in:
zzbot 2018-09-19 20:48:37 -07:00 committed by GitHub
commit a020cbc0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -593,7 +593,9 @@ class YouCompleteMe( object ):
self._server_stdout,
self._server_stderr ]
debug_info = SendDebugInfoRequest()
extra_data = {}
self._AddExtraConfDataIfNeeded( extra_data )
debug_info = SendDebugInfoRequest( extra_data )
if debug_info:
completer = debug_info[ 'completer' ]
if completer: