don't loop listenForAjaxRequestTraces on error, added debug logger