microsoft / microsoft/vscode-cmake-tools

Filename not mentioned in error

Open
#3,788 3 comments 0 reactions 0 assignees View on GitHub
enhancement Feature: other
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

When using this extension to build via cmake, I'm getting the following error:

[rollbar] Unhandled exception: Unhandled Promise rejection: build SyntaxError: Unexpected non-whitespace character after JSON at position 186 {}

This error is quite useless to me as:
- I don't know what rollbar is
- It doesn't mention where the JSON was retrieved from

Can this error be extended with some information about the actual source of the JSON?

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CMake Tools build failure and tracing where the JSON parse error is reported. Identify the source of the JSON and the error-reporting path; done means the resulting error identifies the JSON source and provides useful context about Rollbar.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript
Domain
build-system, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.