portal

liebs 2023-01-13T16:07:00.797779Z

Out of curiosity, is it default for Portal to not print errors thrown by functions called in a tap>?

djblue 2023-01-13T16:11:29.190959Z

tap> is a core function, so if its argument fails to evaluate, tap> is never called and Portal never receives the value.

djblue 2023-01-13T16:12:24.883079Z

You could use something like https://cljdoc.org/d/djblue/portal/0.35.1/doc/guides/logging/portal-console if you would like a macro that catches exceptions in its argument

liebs 2023-01-13T16:13:24.109379Z

No worries, I lost no time in simply looking in my REPL 😃 good to know about log thanks!

djblue 2023-01-13T16:19:49.374119Z

The https://cljdoc.org/d/djblue/portal/0.35.1/doc/guides/nrepl middleware will also automatically tap eval results / exceptions as well 👌

💯 1
👀 1
🔥 1