FlineDev / CSVImporter

Import CSV files line by line with ease

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debug logs or Error Propagation

bienemann opened this issue · comments

commented

Error propagation or even any feedback on errors while reading files is really lacking.
I'm looking at a tight deadline right now so I can't at the moment, but I'll try to get back to it eventually and submit a pull request.

I agree. I spent an hour spelunking into FileKit to realize I was passing a bad path to the constructor. NSURL.absoluteString doesn't work. Unfortunately FileKit just returns nil.

I just released version 1.4.0 which removes the FileKit dependency and includes the required parts directly into the project (see the class TextFile). I did this also with this issue in mind – I hope better error handling and debug logs are much simpler to add now.

@bienemann Are you still planning to submit a PR? If not, could you specify more clearly in what situations you were missing which information so we can improve CSVImporter to fix those issues? Thank you for your help!

Closing this due to inactivity.