Pass errors through to the stream
Merge pull request #102 from LocalData/avoid-query-crash

Pass errors through to the stream