Comparing version 35.0.2 to 35.0.3
@@ -53,2 +53,8 @@ "use strict"; | ||
}); | ||
// https://github.com/gajus/slonik/issues/471 | ||
pool.on('error', (error) => { | ||
poolLog.error({ | ||
error: (0, serialize_error_1.serializeError)(error), | ||
}, 'client error'); | ||
}); | ||
state_1.poolStateMap.set(pool, { | ||
@@ -55,0 +61,0 @@ ended: false, |
@@ -102,3 +102,3 @@ { | ||
"types": "./dist/index.d.ts", | ||
"version": "35.0.2" | ||
"version": "35.0.3" | ||
} |
@@ -75,2 +75,12 @@ import { bindPool } from '../binders/bindPool'; | ||
// https://github.com/gajus/slonik/issues/471 | ||
pool.on('error', (error) => { | ||
poolLog.error( | ||
{ | ||
error: serializeError(error), | ||
}, | ||
'client error', | ||
); | ||
}); | ||
poolStateMap.set(pool, { | ||
@@ -77,0 +87,0 @@ ended: false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
513388
7549