From a975df38dd471ab0ac8645a1021470a4600e6598 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Fri, 25 Jun 2021 09:29:59 +0200 Subject: [PATCH] fix: unhandled exception in connection test --- src/main/ipc-handlers/connection.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/ipc-handlers/connection.js b/src/main/ipc-handlers/connection.js index 038ae3de..0db0b5fe 100644 --- a/src/main/ipc-handlers/connection.js +++ b/src/main/ipc-handlers/connection.js @@ -29,9 +29,8 @@ export default connections => { params }); - await connection.connect(); - try { + await connection.connect(); await connection.select('1+1').run(); connection.destroy();