You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running into either an error in documentation or an issue with error handling of the parseAsync method.
I would expect, based on the documentation, for the code below to be caught in the catch block and run the resulting error handling, but the method throws early without the error bubbling out, making it impossible to catch this way
json2csv v4.5.2
node v10+
I'm running into either an error in documentation or an issue with error handling of the parseAsync method.
I would expect, based on the documentation, for the code below to be caught in the catch block and run the resulting error handling, but the method throws early without the error bubbling out, making it impossible to catch this way
Wrapping the function in a try / catch block solves the issue
So maybe either the docs should be updated or the behavior changed as desired.
Thanks so much for your work on the tool - it's extremely useful and well done!
The text was updated successfully, but these errors were encountered: