mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Log malformed docstring in addition to stacktrace from rest_formatter.py
This commit is contained in:
+1
@@ -144,6 +144,7 @@ public class PyStructuredDocstringFormatter {
|
||||
|
||||
final ProcessOutput output = PySdkUtil.getProcessOutput(commandLine, new File(sdkHome).getParent(), env, 5000, data, false);
|
||||
if (!output.checkSuccess(LOG)) {
|
||||
LOG.info("Malformed docstring:\n" + docstring);
|
||||
return null;
|
||||
}
|
||||
return output.getStdout();
|
||||
|
||||
Reference in New Issue
Block a user