Skip to content

Commit c40de13

Browse files
committed
fix: Upgrade console output to a warning
1 parent 8806f95 commit c40de13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/continuous-toolbox/src/ContinuousFlyout.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ export class ContinuousFlyout extends Blockly.VerticalFlyout {
7676
const toolbox = this.targetWorkspace.getToolbox();
7777
if (!toolbox || toolbox instanceof ContinuousToolbox) return toolbox;
7878

79-
console.log(
79+
console.warn(
8080
'Expected a `ContinuousToolbox` instance but did not find one. ' +
81-
'Make sure `registerContinuousToolbox()` has been called and the ' +
82-
'continuous toolbox has been injected.'
81+
'Make sure `registerContinuousToolbox()` has been called and the ' +
82+
'continuous toolbox has been injected.',
8383
);
8484

8585
return null;

0 commit comments

Comments
 (0)