Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve error display #24

Closed

Conversation

ioanaif
Copy link
Collaborator

@ioanaif ioanaif commented Feb 22, 2023

This PR is a fix for issue #23

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rebase, remove the merge commit and keep this a single commit?

@@ -210,7 +213,19 @@ nl::json interpreter::execute_request_impl(int /*execution_counter*/,
errorlevel = 1;
// send the errors directly to std::cerr
ename = "";
std::cerr << error_stream.str();
try {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a FIXME saying that we should investigate the feature in clang that produces these codes automatically and just return them here instead of doing the manual work?

@vgvassilev
Copy link
Contributor

Implemented based on the ideas from this pull requests.

@vgvassilev vgvassilev closed this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants