diff --git a/src/ajax.js b/src/ajax.js index c93aa946a55..19dc1b3869f 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -71,6 +71,9 @@ export function ajaxBuilder(timeout = 3000) { } } }; + x.ontimeout = function () { + utils.logError(' xhr timeout after ', x.timeout, 'ms'); + }; } if (method === 'GET' && data) {