mirror of
https://github.com/djhackersdev/minime.git
synced 2026-08-28 05:24:04 -05:00
sql: Throw conventionally...
This commit is contained in:
committed by
da5669c09fdb0a288ba01e259a609d7779ac7fc9
parent
9494f3026b
commit
2099622b0f
@@ -135,7 +135,7 @@ class SqliteDataSource implements DataSource {
|
||||
} catch (e) {
|
||||
db.exec("rollback");
|
||||
|
||||
return Promise.reject(e);
|
||||
throw e;
|
||||
} finally {
|
||||
db.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user