Merge pull request #431 from status-im/develop
Additional logging and tx hash constraint
This commit is contained in:
commit
e04757d1bd
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE issues DROP CONSTRAINT transaction_hash_uniq;
|
|
@ -0,0 +1 @@
|
||||||
|
ALTER TABLE issues ADD CONSTRAINT transaction_hash_uniq UNIQUE (transaction_hash);
|
|
@ -145,12 +145,7 @@
|
||||||
(try
|
(try
|
||||||
(json/read-str s :key-fn keyword)
|
(json/read-str s :key-fn keyword)
|
||||||
(catch Exception ex
|
(catch Exception ex
|
||||||
(do (log/error "Exception when parsing json string:"
|
(log/error ex "Exception when parsing json string:" s)))))
|
||||||
s
|
|
||||||
"message:"
|
|
||||||
ex)
|
|
||||||
|
|
||||||
nil)))))
|
|
||||||
|
|
||||||
(def req-id-tracker
|
(def req-id-tracker
|
||||||
;; HACK to ensure previous random-number approach doesn't lead to
|
;; HACK to ensure previous random-number approach doesn't lead to
|
||||||
|
|
Loading…
Reference in New Issue