pass up server errors correctly