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.

Let's do something more about MacroExecutionErrors

See original GitHub issue

See http://localhost:3000/en-US/docs/Web/HTML/Element/input/search#attr-spellcheck What you see is this:

Screen Shot 2020-08-07 at 11 05 34 AM

When you’re in previewing mode (localhost:3000), it’s just a little bit too “discrete”. It should probably “stand out” more to grab a human’s attention to take care of it. Yes, we have the “Show flaws” UI but it’s still potentially not enough.

When in production mode (localhost:5000), it, today, actually looks exactly the same. I think there it should say something “less screamy” but more proactive and helpful like:

<p class="macro-error">
Sorry. An error occurred right here rendering this text inclusion. <br>
To learn more or to help out go to <a href="/en-US/docs/MDN/Getting_Started">learn about how to contribute</a>.
</p>

(PS. we could leverage NODE_ENV==='development' here and load some extra CSS that makes that more red and standing out)

Some help from @schalkneethling and @malqinneh would be appreciated here. We can break this apart between some necessary kumascript rendering stuff and some design work. Plus a shared chat about the correct and appropriate wording/prose.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
teoli2003commented, Nov 9, 2021

I think we are close to 0 now, so we can easily investigate when new ones appear.

Screenshot 2021-11-09 at 19 13 34

Periodically checking the flaw dashboard and cleaning these is enough. In other terms, I think there are many things more important 😃

/me loves the flaw dashboard, although I don’t have enough time to look at it more often.

I would support to close thiis issue.

1reaction
ghostcommented, Dec 15, 2020

Beyond the rest of the management I believe that in CSS it needs to start from the .error class and eventually extend in the future. In the end it should be a simple message always without further functionality.

<div class="error">
 <p class="message">...</p>
</div>

Like the interface’s Instance properties in JS. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error

So this component can be used easily in any catch scope.

Screenshot_20201215-204746.png

Read more comments on GitHub >

github_iconTop Results From Across the Web

Excel VBA Error Handling - All You Need to Know!
Learn all about Excel VBA errors and how make sure these are handled properly in your VBA code. Covers all the error types...
Read more >
VBA Error Handling - A Complete Guide - Excel Macro Mastery
“Abort, Retry, Fail?” – MS-DOS error message circa 1986. This post provides a complete guide to VBA Error Handing. If you are looking...
Read more >
Learn-Vim/ch09_macros.md at master - GitHub
It does not execute the macro on last two lines because the execution fails to run f{ on the "foo" line. This is...
Read more >
Troubleshooting Your Macros - SAS Help Center
A syntax error exists somewhere in the macro definition. Only syntactically correct macros are compiled. The macro does not execute when you ...
Read more >
Macro Bugs - How to Control Them - Lex Jansen
instruction, goes to macro facility for execution during the compilation of the DATA step. Hence neither %LET statement is conditional. Both DO groups...
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