Don't crash when passed a binary file
See original GitHub issueNow it crashes all nodejs app:
node_modules/ya-csv/lib/ya-csv.js:131
throw new Error("separator expected after a closin
Error: separator expected after a closing quote; found
It should handle the error gracefully.
Issue Analytics
- State:
- Created 10 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
C++ Program crashes when reading binary data from file of X ...
This local variable: ResData tmp;. contains unsigned char *data;. Given that none of the code actually assigns anything to data , it will...
Read more >Cancel reading binary files to prevent reading all data #132771
Issue Type: Performance Issue. When I use remote ssh to control the server, drag a binary file from the local to the server....
Read more >Binary Files in C++
In C++, no file operations cause the program to stop. If an error occurs and you do not check it, then your program...
Read more >Enabling binary support using the API Gateway console
The section explains how to enable binary support using the API Gateway console. As an example, we use an API that is integrated...
Read more >What is a binary file and how does it work? - TechTarget
Binary files are commonly used when building applications and other types of software. However, developers do not work directly with the binary files....
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
This has been fixed a long time ago. Ya-csv emits an ‘error’ event in the case of an error. Sorry for not closing the ticket formally. Error handling has been added to the examples in the README file.
Same here, any idea how to handle this ?