Better error message for #49
Set exitcode if we see an error - closes #49