sqlite: do not silently fail during module initialization#61265
sqlite: do not silently fail during module initialization#61265Renegade334 wants to merge 1 commit intonodejs:mainfrom
Conversation
|
Review requested:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #61265 +/- ##
=======================================
Coverage 88.54% 88.55%
=======================================
Files 704 704
Lines 208753 208750 -3
Branches 40279 40280 +1
=======================================
+ Hits 184844 184850 +6
+ Misses 15919 15904 -15
- Partials 7990 7996 +6
🚀 New features to boost your workflow:
|
addaleax
left a comment
There was a problem hiding this comment.
Can you explain why the JS exception shouldn't be propagated as it normally would? We're frequently doing changes to the codebase to move away from incorrect .ToLocalChecked() calls, but not typicallz the other way around.
Checked calls are the norm for all binding initialisers, including the likes of |
|
@Renegade334 Yeah, I'd say that's something we should fix -- by aligning on proper error handling. |
Module initialisation steps should crash on failure.