check that errors aren't nil before pushing them down the pipe's error channel
Merge pull request #18 from compose/17-checkerrors

check that errors aren't nil