1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-24 06:59:52 +01:00

karma: add stack trace

This commit is contained in:
Ilya Kreymer 2017-03-14 12:14:04 -07:00
parent 09a0779abb
commit 8ddf43684f

View File

@ -83,6 +83,7 @@ function runWombatTest(testCase, done) {
new window._WBWombat(window, wbinfo); new window._WBWombat(window, wbinfo);
}); });
} catch (e) { } catch (e) {
console.error(e.stack);
throw new Error('Initializing WombatJS failed: ' + e.toString()); throw new Error('Initializing WombatJS failed: ' + e.toString());
} }