Strange XHR email log error


(Stephen Chung) #1

My email logs keep getting littered by this error:

TypeError: undefined is not an object (evaluating ‘s.getResponseHeader’)
Url: https://support.chenhsong.com/assets/application-5b47578fb219400920413c66ef9908b3e05e6ba9f17ffbc897c47b9c708fb534.js

Tracing the code back to the source, it is this:

Apparently, xhr is undefined but somehow the XHR call succeeded.

User agent is all over the place, iPhone/Android/PC and so unlikely to be problem from a specific device.