minor tweak from last week to add response content to error exit