From 3f16b0f2fae7ae81cc197ec2989c8b214abd17a4 Mon Sep 17 00:00:00 2001 From: Eric Harper Date: Wed, 6 Dec 2017 12:25:00 -0500 Subject: [PATCH] added log message for xhr timeout --- src/ajax.js | 3 +++ 1 file changed, 3 insertions(+) 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) {