Skip to content

Commit 82646ac

Browse files
committed
fixup throwing error in requirejs test
1 parent 7347bed commit 82646ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/test_requirejs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define(function(require) {
1919
if(plotly) {
2020
console.log(plotly);
2121
} else {
22-
console.error('Error: loading with requirejs');
22+
throw 'Error: loading with requirejs';
2323
}
2424

2525
// The value returned from the function is

0 commit comments

Comments
 (0)