Skip to content

Commit 366772f

Browse files
author
Loïc Mangeonjean
committed
fix: suppress error log
1 parent ae984ed commit 366772f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/vscodeParts.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ function createPart (part: Parts, location: ViewContainerLocation | null) {
2525

2626
initializePromise.then(() => {
2727
attachPart(part, element)
28-
}, console.error)
28+
}, () => {
29+
// ignore, probably part not registered
30+
})
2931

3032
let counter = 0
3133

0 commit comments

Comments
 (0)