diff --git a/src/vector/index.ts b/src/vector/index.ts index 4508494e62..52fcf94531 100644 --- a/src/vector/index.ts +++ b/src/vector/index.ts @@ -114,7 +114,7 @@ function monkeyPatchForReact() { const [ancestor, depth] = findAncestorWithClass(args[0]); console.log( "Caught exception from removeChild, removing node of type " + - args[0].type + ". Closest ancestor with class is a " + ancestor.nodeName + + args[0].nodeName + ". Closest ancestor with class is a " + ancestor.nodeName + " with class " + ancestor.className + " " + depth + " levels above. " + "See https://github.com/vector-im/riot-web/issues/13557", e, ); @@ -130,7 +130,7 @@ function monkeyPatchForReact() { const [ancestor, depth] = findAncestorWithClass(args[0]); console.log( "Caught exception from removeChild, removing " + args[0].nodeName + - ". Closest ancestor with class is a " + ancestor.type + + ". Closest ancestor with class is a " + ancestor.nodeName + " with class " + ancestor.class + " " + depth + " levels above. " + "See https://github.com/vector-im/riot-web/issues/13557", e, );