-
-
Notifications
You must be signed in to change notification settings - Fork 258
Closed
Description
version
1.4.192
platform
Windows 11
problem
Calling (taoensso.timbre/spy)
throws an exception about a missing namespace
repro
> bb repl
Babashka v1.4.192 REPL.
Use :repl/quit or :repl/exit to quit the REPL.
Clojure rocks, Bash reaches.
user=> (require '[taoensso.timbre :as timbre])
nil
user=> (timbre/spy (+ 1 2))
clojure.lang.ExceptionInfo: Could not resolve symbol: taoensso.encore/catching [at <repl>:2:1]
user=>
The above session is with no bb.edn. I tried adding com.taoensso/encore {:mvn/version "3.121.0"}
as a dependency, but I get an error if I try to require it:
user=> (require '[taoensso.encore])
java.lang.Exception: Unable to resolve classname: java.util.function.UnaryOperator [at taoensso/encore.cljc:104:3]
expected behavior
Calling (timbre/spy)
should not throw an exception. I think in the default config it won't emit a log either, since it logs at :debug
by default, but eg (timbre/spy :warn (+ 1 2))
should produce output similar to (+ 1 2) => 3
.
Metadata
Metadata
Assignees
Labels
No labels