mirror of https://github.com/Fabio286/antares.git
fix: unhandled exception in connection test
This commit is contained in:
parent
a0a025e450
commit
a975df38dd
|
@ -29,9 +29,8 @@ export default connections => {
|
||||||
params
|
params
|
||||||
});
|
});
|
||||||
|
|
||||||
await connection.connect();
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
await connection.connect();
|
||||||
await connection.select('1+1').run();
|
await connection.select('1+1').run();
|
||||||
connection.destroy();
|
connection.destroy();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue