Sfoglia il codice sorgente

dx(runtime-core): log the component object when warning about missing template/render function (#10263)

skirtle 1 anno fa
parent
commit
7d4e5750ba
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      packages/runtime-core/src/component.ts

+ 1 - 1
packages/runtime-core/src/component.ts

@@ -1006,7 +1006,7 @@ export function finishComponentSetup(
                 : ``) /* should not happen */,
       )
     } else {
-      warn(`Component is missing template or render function.`)
+      warn(`Component is missing template or render function: `, Component)
     }
   }
 }