print error to console