client: don't print 'ERROR:' in error messages twice