sql: Throw conventionally...

This commit is contained in:
Tau
2020-09-27 00:06:09 -04:00
committed by da5669c09fdb0a288ba01e259a609d7779ac7fc9
parent 9494f3026b
commit 2099622b0f

View File

@@ -135,7 +135,7 @@ class SqliteDataSource implements DataSource {
} catch (e) {
db.exec("rollback");
return Promise.reject(e);
throw e;
} finally {
db.close();
}