Skip to content

Misleading validation error #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kittaakos opened this issue Nov 28, 2019 · 1 comment
Closed

Misleading validation error #18

kittaakos opened this issue Nov 28, 2019 · 1 comment

Comments

@kittaakos
Copy link
Contributor

I do not know if this is an actual LS problem, but I find the error message not so helpful, and I think it should work.

void setup() {
  Serial.begin(9600);
  digitalWrite(LED_BUILTIN, HIGH); 
}

int n = 0;
void loop() {
    Serial.println("This is a test" + n++);
    Serial.write(98);
    delay(2000);
}

I get this error message:
Screen Shot 2019-11-28 at 14 09 15

@kittaakos
Copy link
Contributor Author

I have just noticed the backend log:

root ERROR Arduino: 2019/11/28 14:08:45 jsonrpc2 handler: notification "textDocument/didChange" handling error: jsonrpc2: connection is closed

root ERROR Arduino: 2019/11/28 14:08:46 jsonrpc2 handler: notification "textDocument/didSave" handling error: jsonrpc2: connection is closed

root ERROR Arduino: 2019/11/28 14:08:46 jsonrpc2 handler: notification "workspace/didChangeWatchedFiles" handling error: jsonrpc2: connection is closed

root ERROR Arduino: 2019/11/28 14:09:00 jsonrpc2 handler: notification "textDocument/didChange" handling error: jsonrpc2: connection is closed

root ERROR Arduino: 2019/11/28 14:09:00 jsonrpc2 handler: notification "textDocument/didChange" handling error: jsonrpc2: connection is closed

root ERROR Arduino: 2019/11/28 14:09:00 jsonrpc2 handler: notification "textDocument/didSave" handling error: jsonrpc2: connection is closed

root ERROR Arduino: 2019/11/28 14:09:01 jsonrpc2 handler: notification "workspace/didChangeWatchedFiles" handling error: jsonrpc2: connection is closed

root ERROR Arduino: 2019/11/28 14:09:01 jsonrpc2 handler: notification "workspace/didChangeWatchedFiles" handling error: jsonrpc2: connection is close

It is the same as #17. I am closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant