Fork me on GitHub
#aws
<
2019-04-18
>
gzmask17:04:59

Just a minor thing, the readme could use more attention on the service dep part, such that it’s not obvious at first glance.

ghadi17:04:06

Thanks @gzmask . Can you post the full stacktrace into the ticket please?

ghadi17:04:20

with the request payload

ghadi17:04:50

*e should provide the data representation of the trace

gzmask17:04:26

sure, updated the ticket with cider inspector error trace.

ghadi18:04:35

i'm sorry to be a pest, but can you reformat it?

gzmask18:04:59

yeah, I am replacing the \ns

ghadi18:04:12

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=>

ghadi18:04:36

having readable error data is useful to us

ghadi18:04:59

(Throwable->map the-exception) if you've caught it already ^

gzmask18:04:46

yup, the exception is just data and not thrown into the repl