set customErrors to remoteOnly