adding more information when unexpected content type exception encountered