Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

How to catch error #20

Closed
moshir opened this Issue · 4 comments

5 participants

@moshir

Hi,

first of all, thanks for this excellent module.
Question : How error are supposed to be handled ?
The api seems to provide an 'error' event.
But even if you add an 'error' listener, there's a lot of throw new Error ("...") in the code base that makes error handling difficult.

@DominicBoettger

Same problem here not able to catch the error....

[ERROR] Error
Error: separator expected after a closing quote; found ,
at CsvReader.parse (/~/node/project1/node_modules/ya-csv/lib/ya-csv.js:131:35)

@diversario

Same here. Why is this error throws instead of being emitted?

@koles
Owner

Can you please check version 0.9.4?

thanks

@koles koles closed this
@uncedric

@koles I am using version 0.9.4 and I'm still getting that error, any idea how to handle it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.