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