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

Remove html codes from exception outputs #60

Open
1 task done
paulc-fugro opened this issue May 13, 2024 · 0 comments
Open
1 task done

Remove html codes from exception outputs #60

paulc-fugro opened this issue May 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@paulc-fugro
Copy link

paulc-fugro commented May 13, 2024

Checklist

Describe the problem you'd like to have solved

I'm using the "dotnet" command in a Linux terminal to build and run my application. On an exception, I get the following example output:

Failed due to: One or more errors occurred. (cannot write a tuple which already exists: user: 'user:paul', relation: 'operator', object: 'client:eql': invalid write input)

The control codes makes it difficult to read in the terminal. I missed the actual error until I removed the codes.

This is output is probably designed for Visual Studio, and so probably is invisible to Windows users.

Describe the ideal solution

Remove the controls code and replace them with quote characters.

Not sure if Visual Studio can display straight quotes. I assume this was implemented for a reason.

Alternatives and current workarounds

run:

$ dotnet run | htmltotext

not a great solution since it removes line formatting.

References

No response

Additional context

No response

@paulc-fugro paulc-fugro added the enhancement New feature or request label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant