You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by kn...@apache.org on 2019/03/08 06:54:16 UTC

[cordova-plugin-file] branch travis_tests updated: further debug logs are added 2

This is an automated email from the ASF dual-hosted git repository.

knaito pushed a commit to branch travis_tests
in repository https://gitbox.apache.org/repos/asf/cordova-plugin-file.git


The following commit(s) were added to refs/heads/travis_tests by this push:
     new e29255b  further debug logs are added 2
e29255b is described below

commit e29255b749022294d388750733cdb67c27ae7efb
Author: knaito <kn...@asial.co.jp>
AuthorDate: Fri Mar 8 15:53:59 2019 +0900

    further debug logs are added 2
---
 src/browser/FileProxy.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/browser/FileProxy.js b/src/browser/FileProxy.js
index 9a8f609..3b2b4ff 100644
--- a/src/browser/FileProxy.js
+++ b/src/browser/FileProxy.js
@@ -843,7 +843,11 @@
                 successCallback(e);
             };
 
-            request.onblocked = errorCallback || onError;
+            request.onblocked = function (err) {
+                window.customLog('log', 'onblocked is fired');
+                window.customLog('log', err);
+                (errorCallback || onError)(err);
+            };
         };
 
         idb_.close = function () {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org