print error on stderr