Skip to content
Snippets Groups Projects
Commit 7d66c28e authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] SQLite closing could throw an unhandled exception

parent 375762f6
Branches
Tags
No related merge requests found
......@@ -80,7 +80,12 @@ function SQLiteDriver(path) {
}
reject(err);
});
try {
db.close();
} catch (e) {
logger.error(e);
throw e;
}
});
});
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment