nytlabs / streamtools

tools for working with streams of data
http://nytlabs.github.io/streamtools/
Apache License 2.0
1.31k stars 111 forks source link

fromfile should throw an error when file not found #564

Open jacqui opened 10 years ago

jacqui commented 10 years ago

I couldn't remember what the cwd was for the fromfile block, so I just omitted the directory. That's when I noticed it doesn't throw an error or message you in any way if it can't find the file. It will cause blocks further down the chain to error, though. In my case, unpack (rule: ".", "cannot assert . to array").