update rest error logging