File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2104,7 +2104,9 @@ class Component {
2104
2104
}
2105
2105
}
2106
2106
catch ( error ) {
2107
- console . error ( 'There was a problem with the component HTML returned:' ) ;
2107
+ console . error ( `There was a problem with the '${ this . name } ' component HTML returned:` , {
2108
+ id : this . id
2109
+ } ) ;
2108
2110
throw error ;
2109
2111
}
2110
2112
this . externalMutationTracker . handlePendingChanges ( ) ;
Original file line number Diff line number Diff line change @@ -363,8 +363,9 @@ export default class Component {
363
363
throw new Error ( 'A live component template must contain a single root controller element.' ) ;
364
364
}
365
365
} catch ( error ) {
366
- console . error ( 'There was a problem with the component HTML returned:' ) ;
367
-
366
+ console . error ( `There was a problem with the '${ this . name } ' component HTML returned:` , {
367
+ id : this . id
368
+ } ) ;
368
369
throw error ;
369
370
}
370
371
You can’t perform that action at this time.
0 commit comments