Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-04 17:17:54 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-04 17:17:54 +0400
commit28f2e682eab325a3cc4df7b638baf30b2a83d7a8 (patch)
tree2c26aea0c6a1f80c9cb8e6013e8e8728af11e6f7 /tests/lib
parent1fba3d06c3f83d54f64fbc1c165ccab5ccb1b64e (diff)
Add missing links to screenshot test readme and attempt to diagnose build timeout on travis.
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/screenshot-testing/support/diff-viewer.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/lib/screenshot-testing/support/diff-viewer.js b/tests/lib/screenshot-testing/support/diff-viewer.js
index bca0d1b55d..1cb1f2e2f8 100644
--- a/tests/lib/screenshot-testing/support/diff-viewer.js
+++ b/tests/lib/screenshot-testing/support/diff-viewer.js
@@ -123,7 +123,11 @@ DiffViewerGenerator.prototype.generateDiffs = function (callback, i) {
if (i >= this.failures.length
|| !this.isCompareAvailable
) {
- callback();
+ try {
+ callback();
+ } catch (ex) {
+ console.error("Failed to generate diffviewer: " + ex.stack);
+ }
return;
}