Skip to content

Commit f7907b9

Browse files
committed
Fix slonik (add captureStackTrace: true)
1 parent 1b0aea8 commit f7907b9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

slonik/index.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
const slonik = require('slonik')
22

3-
const pool = slonik.createPool('postgres://', { maximumPoolSize: 4, connectionTimeout: 30 * 1000, preferNativeBindings: false })
3+
const pool = slonik.createPool('postgres://', {
4+
captureStackTrace: false,
5+
maximumPoolSize: 4,
6+
connectionTimeout: 30 * 1000,
7+
preferNativeBindings: false
8+
})
49

510
module.exports = {
611
queries: {

0 commit comments

Comments
 (0)