Most not reporting error when using most.create.
See original GitHub issueI started using most today and stumbled on the problem with most not reporting any errors when there is end
function call right after add
function call in most.create
. Here is minimal code presenting the behaviour:
const most = require('most');
most.create((add, end, err) => {
add('dummy element');
end();
})
.map(e => {
throw new Error('This should be reported');
})
.drain()
.catch(err => console.error(err.message));
This code doesn’t print “This should be reported” string as I expected. After commenting end
call it prints the string.
I’m using node v6.1.0 and most 0.19.3.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to Troubleshoot and Fix Excel Pivot Table Errors
How to troubleshoot and fix Excel pivot table errors, such as PivotTable field name is not valid. Find the problem, and fix it....
Read more >Report on VAST errors - Google Ad Manager Help
Learn how to create a VAST errors report and view how impressions are lost Some video features might not be enabled for your...
Read more >6 Common Google Data Studio Problems and How to Fix Them
This article presents the most common problems in Google Data Studio and how to fix them. ... Problem 2: Date fields not showing...
Read more >Error message when Report Server service starts - SQL Server
Cause. Typically, this problem occurs when the Report Server service account password is reset. Resolution. To resolve this problem, use one of ...
Read more >How to Report Errors in Forms: 10 Design Guidelines
Help users recover from errors by clearly identifying the problems and allowing users to access and correct erroneous fields easily.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, thank you. Done.
See #261