Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Handle Invalid JSON in Cargo Output #429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

schrieveslaach
Copy link

When running all tests of a file, the cargo command prints none JSON strings into stdout. Therefore, the debugging fails because the dap.lua file wasn't prepared for that. This commit makes the JSON parsing of the stdout output more robust by excepting none JSON formatted lines.

When running all tests of a file, the cargo command prints none JSON
strings into stdout. Therefore, the debugging fails because the dap.lua
file wasn't prepared for that. This commit makes the JSON parsing of the
stdout output more robust by excepting none JSON formatted lines.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant