Skip to content

Commit

Permalink
fix: unhandled exception in connection test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Jun 25, 2021
1 parent a0a025e commit a975df3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/ipc-handlers/connection.js
Expand Up @@ -29,9 +29,8 @@ export default connections => {
params
});

await connection.connect();

try {
await connection.connect();
await connection.select('1+1').run();
connection.destroy();

Expand Down

0 comments on commit a975df3

Please sign in to comment.