Just a minor thing, the readme could use more attention on the service dep part, such that it’s not obvious at first glance.
Also filed an issue with solution PR: https://github.com/cognitect-labs/aws-api/issues/71
Thanks @gzmask . Can you post the full stacktrace into the ticket please?
with the request payload
*e
should provide the data representation of the trace
sure, updated the ticket with cider inspector error trace.
i'm sorry to be a pest, but can you reformat it?
yeah, I am replacing the \n
s
user=> (throw (Exception. "foo"))
Execution error at user/eval1 (REPL:1).
foo
user=> *e
#error {
:cause "foo"
:via
[{:type java.lang.Exception
:message "foo"
:at [user$eval1 invokeStatic "NO_SOURCE_FILE" 1]}]
:trace
[[user$eval1 invokeStatic "NO_SOURCE_FILE" 1]
[user$eval1 invoke "NO_SOURCE_FILE" 1]
[clojure.lang.Compiler eval "Compiler.java" 7176]
[clojure.lang.Compiler eval "Compiler.java" 7131]
[clojure.core$eval invokeStatic "core.clj" 3214]
[clojure.core$eval invoke "core.clj" 3210]
[clojure.main$repl$read_eval_print__9088$fn__9091 invoke "main.clj" 437]
[clojure.main$repl$read_eval_print__9088 invoke "main.clj" 437]
[clojure.main$repl$fn__9097 invoke "main.clj" 458]
[clojure.main$repl invokeStatic "main.clj" 458]
[clojure.main$repl_opt invokeStatic "main.clj" 522]
[clojure.main$main invokeStatic "main.clj" 667]
[clojure.main$main doInvoke "main.clj" 618]
[clojure.lang.RestFn invoke "RestFn.java" 397]
[clojure.lang.AFn applyToHelper "AFn.java" 152]
[clojure.lang.RestFn applyTo "RestFn.java" 132]
[clojure.lang.Var applyTo "Var.java" 705]
[clojure.main main "main.java" 40]]}
user=>
having readable error data is useful to us
(Throwable->map the-exception)
if you've caught it already ^
yup, the exception is just data and not thrown into the repl
thanks!