question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add option to show friendly error messages when in report view on a specific node

See original GitHub issue

Error messages are cut off when viewing a specific node’s report due to error being wrapped in <pre> tags. Can the friendly error messages feature be implemented on this screen as well so that the errors will wrap on the page? I’m on the latest version 3.4.2.

Edit: Only happens on certain error messages, not sure why that is though.

image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mike406commented, May 27, 2022

Hi @gdubicki sorry for the late reply, this change looks great! Thank you for implementing.

1reaction
gdubickicommented, May 27, 2022

Final v3.5.0 released.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Better Error Handling In NodeJS With Error Classes
This article is for JavaScript and NodeJS developers who want to improve error-handling in their applications.
Read more >
Best Practices for Node.js Error-handling - Toptal
Developers working with Node.js sometimes find themselves writing not-so-clean code while handling all sorts of errors. This article will introduce you to ...
Read more >
How to Write Helpful Error Messages to Improve Your App's ...
The client side will use the error code to retrieve a sane error message from the error messages repo. The client side then...
Read more >
Node.js + Joi how to display a custom error messages?
Original answer: The current way (I personally find it better) is to use .messages() (or .prefs({messages}) ).
Read more >
How to display error messages in a React application
In the code below, I show this operation. In the catch branch I call setState() with an object that updates errorMessage with whatever...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found