Skip to content

Commit

Permalink
feat(app-x): expose logError
Browse files Browse the repository at this point in the history
  • Loading branch information
fxy060608 committed Nov 28, 2024
1 parent 2854905 commit defc74a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/src/errorHandling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ export function handleError(
}
logError(err, type, contextVNode, throwInDev)
}

function logError(
// fixed by xxxxxx
export function logError(
err: unknown,
type: ErrorTypes,
contextVNode: VNode | null,
Expand Down
1 change: 1 addition & 0 deletions packages/runtime-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ export { transformVNodeArgs } from './vnode'
// fixed by xxxxxx
export { injectHook } from './apiLifecycle'
export { isInSSRComponentSetup } from './component'
export { logError } from './errorHandling'

// SSR -------------------------------------------------------------------------

Expand Down

0 comments on commit defc74a

Please sign in to comment.