Merge pull request #431 from status-im/develop

Additional logging and tx hash constraint
This commit is contained in:
Vitaliy Vlasov 2018-04-19 19:20:17 +03:00 committed by GitHub
commit e04757d1bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View File

@ -0,0 +1 @@
ALTER TABLE issues DROP CONSTRAINT transaction_hash_uniq;

View File

@ -0,0 +1 @@
ALTER TABLE issues ADD CONSTRAINT transaction_hash_uniq UNIQUE (transaction_hash);

View File

@ -145,12 +145,7 @@
(try
(json/read-str s :key-fn keyword)
(catch Exception ex
(do (log/error "Exception when parsing json string:"
s
"message:"
ex)
nil)))))
(log/error ex "Exception when parsing json string:" s)))))
(def req-id-tracker
;; HACK to ensure previous random-number approach doesn't lead to