You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this module swallows all errors when the trying to load a module.
I suggest adding this to the catch block:
if(ex.code !== 'MODULE_NOT_FOUND') {
throw ex;
}
This allows the module to still search up the stack, but if it finds a module and has a legitimate error loading the module you can still catch that error.
The text was updated successfully, but these errors were encountered:
Currently this module swallows all errors when the trying to load a module.
I suggest adding this to the catch block:
This allows the module to still search up the stack, but if it finds a module and has a legitimate error loading the module you can still catch that error.
The text was updated successfully, but these errors were encountered: