From 82646ac09b46eb3f4e9c943e9c6c69e55592680d Mon Sep 17 00:00:00 2001 From: archmoj Date: Fri, 12 Feb 2021 12:58:52 -0500 Subject: [PATCH] fixup throwing error in requirejs test --- tasks/test_requirejs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/test_requirejs.js b/tasks/test_requirejs.js index 2f68561a1bd..b743bc0b2da 100644 --- a/tasks/test_requirejs.js +++ b/tasks/test_requirejs.js @@ -19,7 +19,7 @@ define(function(require) { if(plotly) { console.log(plotly); } else { - console.error('Error: loading with requirejs'); + throw 'Error: loading with requirejs'; } // The value returned from the function is