Skip to content

Commit 415bf09

Browse files
caseywebdevbrianc
authored andcommitted
Remove console.error on pg-native module not found
1 parent b6d69d5 commit 415bf09

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: packages/pg/lib/index.js

-3
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ if (typeof process.env.NODE_PG_FORCE_NATIVE !== 'undefined') {
4040
if (err.code !== 'MODULE_NOT_FOUND') {
4141
throw err
4242
}
43-
/* eslint-disable no-console */
44-
console.error(err.message)
45-
/* eslint-enable no-console */
4643
}
4744

4845
// overwrite module.exports.native so that getter is never called again

0 commit comments

Comments
 (0)