Empty response from client when file extension is wrong
Closed this issue · 1 comments
EgorBu commented
Hi,
I found that client returns the empty response without any warnings/errors when code with the wrong extension is sent to a client.
Code to reproduce:
import bblfsh
client = bblfsh.BblfshClient("0.0.0.0:9432")
print(client.parse("java_code.py").uast)
Sample is attached
java_code.py.zip
EgorBu commented
uast = client.parse("java_code.py")
print(uast)
shows an error log