Be more robust regarding nil responses

Report errors in terminal as well.