Skip to content

Missing Errors in Promises #1071

@Wyrdix

Description

@Wyrdix

Describe the bug
If you try to create a file with an invalid name the LSP silently get an error but do not report it

To Reproduce
Steps to reproduce the behavior:

  1. Create a file with didOpen with an invalid name (begin with a number, no '.v' at the end for example)
  2. The LSP returns nothing in the promise even though using LogTraceNotification it sees there is a problem

Expected behavior
The LSP should return an error through the promise of the request

Desktop (please complete the following information):

Additional context
I did not check for any invalid way to create a file_name / uris but i assume the same problem occurs

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions