File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,8 @@ export class AddonBase {
122122 const validate = ajv . getSchema ( this . jsonValidationURI ) ;
123123 const valid = validate ( config ) ;
124124 if ( ! valid && ! IS_TESTING ) {
125- console . debug ( `Validation error on addon "${ this . addonName } ":` ) ;
126- console . debug ( validate . errors ) ;
125+ console . error ( `Validation error on addon "${ this . addonName } ":` ) ;
126+ console . error ( validate . errors ) ;
127127 }
128128 return valid ;
129129 }
@@ -447,7 +447,9 @@ export class DocumentationTool {
447447 }
448448 }
449449
450- console . debug ( "We were not able to find the root selector." ) ;
450+ console . warning (
451+ "Not able to find main content for link previews. Link previews may not function." ,
452+ ) ;
451453 return null ;
452454 }
453455
@@ -481,7 +483,9 @@ export class DocumentationTool {
481483 }
482484 }
483485
484- console . debug ( "We were not able to find the root selector." ) ;
486+ console . warning (
487+ "Not able to find the main content CSS selector. Some addons features may not work as expected." ,
488+ ) ;
485489 return null ;
486490 }
487491
You can’t perform that action at this time.
0 commit comments