diff --git a/src/knexConfig.js b/src/knexConfig.js index 3510afe..9741502 100644 --- a/src/knexConfig.js +++ b/src/knexConfig.js @@ -39,6 +39,11 @@ module.exports = { return; } + if (message === "Connection Error: Error: read ECONNRESET") { + // Knex automatically handles the reconnection + return; + } + console.warn(message); }, },