@@ -784,6 +784,8 @@
(defn- <retry-rsapi [f]
(go-loop [n 3]
(let [r (<! (f))]
+ (when (instance? ExceptionInfo r)
+ (js/console.error "rsapi error:" (str (ex-cause r))))
(if (and (instance? ExceptionInfo r)
(string/index-of (str (ex-cause r)) "operation timed out")
(> n 0))
@@ -48,7 +48,6 @@
[root]
(when (string? root)
(p/let [exists? (fs/file-exists? root "logseq/graphs-txid.edn")]
- (prn ::ex exists?)
(when exists?
(-> (p/let [txid-str (fs/read-file root "logseq/graphs-txid.edn")
txid-meta (and txid-str (reader/read-string txid-str))]