Fork me on GitHub
#sci
<
2022-05-06
>
devn21:05:24

heya @borkdude i got a question for ya while re-running the full input set of expressions in getclojure:

(sci/eval-string "(with-out-str (.printStackTrace (Exception. \"fobbar\")))")
(sci/eval-string "(.printStackTrace (Exception. \"fobbar\"))")

devn21:05:46

these manage to print, and i’m wondering if that’s expected despite a bound sci/*out*

borkdude21:05:29

Those print via System/out or System/err probably and Exception is enabled by default in SCI

borkdude21:05:48

That might be worth changing if it's a problem

devn21:05:50

it’s not a problem, just the only thing to manage to print to my console out of 247,000 expressions

devn21:05:43

i think it makes sense to leave it enabled personally

devn21:05:28

i was just a bit surprised to see it is all and wanted to make sure that behavior was expected

👍 1
borkdude21:05:50

Those classes are enabled because they are used by certain macros I believe