[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: debug
From: |
gnunet |
Subject: |
[libeufin] branch master updated: debug |
Date: |
Fri, 10 Jan 2020 15:39:32 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new b8d701e debug
b8d701e is described below
commit b8d701e59b5b6a689aa49d34eaaa7881406fd65f
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Jan 10 15:39:24 2020 +0100
debug
---
sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt | 1 +
sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
index 4500a2f..3b4efe8 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/DB.kt
@@ -366,6 +366,7 @@ fun dbCreateTables() {
Database.connect("jdbc:sqlite:libeufin-sandbox.sqlite3", "org.sqlite.JDBC")
// Database.connect("jdbc:h2:mem:test;DB_CLOSE_DELAY=-1", driver =
"org.h2.Driver")
TransactionManager.manager.defaultIsolationLevel =
Connection.TRANSACTION_SERIALIZABLE
+ addLogger(StdOutSqlLogger)
transaction {
diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
index 75ba392..ce436c1 100644
--- a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
+++ b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt
@@ -72,7 +72,6 @@ fun findCustomer(id: String?): BankCustomerEntity {
}
return transaction {
-
BankCustomerEntity.findById(idN) ?: throw CustomerNotFound(id)
}
}
--
To stop receiving notification emails like this one, please contact
address@hidden.