apache / apache/daffodil-vscode

Running a launch config with an invalid tdmlConfig path/name causes the backend to crash

Open
#1,353 1 comment 0 reactions 1 assignee Assigned to @michael-hoke View on GitHub
Dominant language
TypeScript
Stars
18
Forks
33
Avg merge
3d 6h
Merged PRs (30d)
7

Description

If I change the tdmlConfig.path in a launch config to not point to a valid file, the backend will crash when trying to read the file. There is a stack trace in the terminal output, and a blank error popup appears.

Additionally, if I make the tdmlConfig.name not reflect a test case name in the tdml file, there will be a stack trace and an error popup, but this popup has a somewhat useful message.

Both of these cases should be handled gracefully. Ideally, we shouldn't be throwing an exception that shows up on the terminal output. The error popup is fine, but both cases should have useful, user friendly messages.

Rollback any changes from #1350 or else this will probably be masked.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.