Open InsertCreativityHere opened 10 months ago
Some of this errors should just be emitted to the Slice trace while others emitted to the user in the form of a popup like how https://github.com/zeroc-ice/vscode-slice/commit/0e699639298548ec0ead645f2a0b56e42ecf7c89 does for Diagnostics without spans.
Currently, whenever we encounter an error (
Result::Err
I'm talking about), we usually just ignore it by callingok()
, then skipping whatever we were about to do.It would be better to properly report any actual errors back to the language client, instead of silently hiding them.