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.

Output not preserved on error

See original GitHub issue

When using the default renderer, and the following options

Renderer options:

concurrent: false,
rendererOptions: {
    collapse: false,
    showSubtasks: true
}

Task options:

persistentOutput: true,
exitOnError: true,
bottomBar: Infinity

When an error is throw by a task, the output that it previously posted to the bottom bar is cleared, even though output from previous successful tasks are preserved.

Is there a way to preserve output even if an error is thrown? If not, perhaps a task option for preserveOutputOnError can be added?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
cenk1cenk2commented, Aug 12, 2020

I would definetly prefer a renderer flag without a breaking change.

1reaction
cenk1cenk2commented, Aug 12, 2020

Yes there should be. I think i can obtain that behavior with moving some rendering conditions around. I will have to check and return back to you. Eta will be this weekend possibly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Writing output to file not working: No errors found
I am trying to write an output a result in a file in Python but it is not working neither it is showing...
Read more >
Output parameter not set if stored procedure fails inside a TRY ...
Let's consider a procedure that has an output parameter. This procedure may produce an error (and will in the following example). I note...
Read more >
Webpack - No Output File, No Errors Reported · Issue #1736
I am learning Webpack and going through it again and again. In the latest build, there is something very strange going on.
Read more >
No file output produced | Data Science and Machine Learning
Ah, you don't see an output because your file was never saved. You're getting an error because you're trying to save your file...
Read more >
SQL Data Tools 2012 SSIS Error Output changes not staying
Hi,. In Visual Studio SQL Server Data Tools 2012 I make a change in the XML Source Editor "Error Output" sidebar selection to...
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