src: print exception thrown during primordial initialization · nodejs/node@9ec030b · GitHub
Skip to content

Commit 9ec030b

Browse files
joyeecheungaduh95
authored andcommitted
src: print exception thrown during primordial initialization
Otherwise there's little information for debugging if the initialization fails due to a bug in local development. This should generally only happen during the build process, when the snapshot is built. Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com> PR-URL: #65991 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent bfb544e commit 9ec030b

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

‎src/node_realm.cc‎

Lines changed: 17 additions & 5 deletions

0 commit comments

Comments
 (0)