Unbreak Special:JavaScriptTest
authorNiklas Laxström <niklas.laxstrom@gmail.com>
Thu, 16 Aug 2018 06:28:17 +0000 (08:28 +0200)
committerNiklas Laxström <niklas.laxstrom@gmail.com>
Thu, 16 Aug 2018 06:28:17 +0000 (08:28 +0200)
Follow-up to dec8009

Change-Id: I812253cc1a504a8bb876700026dbfd35a727458b

includes/specials/SpecialJavaScriptTest.php

index f858f5c..87bd2ed 100644 (file)
@@ -142,7 +142,7 @@ class SpecialJavaScriptTest extends SpecialPage {
                // Things like "dependency missing" or "unknown module".
                // Re-throw so that they are reported as global exceptions by QUnit and Karma.
                setTimeout( function () {
-                       throw e;
+                       throw err;
                } );
        } );
 JAVASCRIPT