Return all errors upstream rather than print them

Fixes #7, part fix to #5