Fork me on GitHub
#pathom
<
2022-06-11
>
nivekuil16:06:20

did some more digging on huge pathom error messages blowing up emacs. I think the problem may be that ex-message is huge here:

(pco/defresolver bad []
  {:a (/ 1 0)})
(def env (pci/register bad))
(try @(p.a.eql/process env  [:a])
     (catch Exception e
       (throw (ex-info (ex-message e) {}))))

nivekuil16:06:47

you don't expect ex-message to ever be that big right?