Skip to content

Commit 2abad79

Browse files
Merge pull request #8128 from carlobeltrame/client-print-setup-errors-in-sentry
Tell Vue it's fine to admit errors, we can handle it
2 parents c27aaac + 4cf675f commit 2abad79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pdf/src/renderer/vueRenderer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export function renderVueToPdfStructure(root, props = {}, onProgress = async ()
2222
},
2323
props
2424
)
25+
app.config.throwUnhandledErrorInProduction = true
26+
2527
app.mount(container)
2628

2729
return container.doc

0 commit comments

Comments
 (0)