Ensure error messages are printed out to console