Skip to content

2.54.1 (LTS)

Latest
Compare
Choose a tag to compare
@bajtos bajtos released this 13 Mar 15:19
· 1240 commits to master since this release

Fix datasource to report connector-loading errors

When resolving full connector path, all errors used to be ignored. As a result, when the connector was installed but not correctly built (e.g. loopback-connector-db2 which uses a native addon), a very confusing message was reported by LoopBack.

We fixed the code handling require() errors to ignore only MODULE_NOT_FOUND errors that contain the name of the required module.