Skip to content

Commit fed73d7

Browse files
puredangerstuarthalloway
authored andcommitted
CLJ-2495 Correct prepl docstring for exception :ret messages
Signed-off-by: Stuart Halloway <stu@cognitect.com>
1 parent 2691ed3 commit fed73d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/clj/clojure/core/server.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,11 +195,11 @@
195195
196196
Calls out-fn with data, one of:
197197
{:tag :ret
198-
:val val ;;eval result
198+
:val val ;;eval result, or Throwable->map data if exception thrown
199199
:ns ns-name-string
200200
:ms long ;;eval time in milliseconds
201201
:form string ;;iff successfully read
202-
:clojure.error/phase (:execution et al per clojure.main/ex-triage) ;;iff error occurred
202+
:exception true ;;iff exception thrown
203203
}
204204
{:tag :out
205205
:val string} ;chars from during-eval *out*

0 commit comments

Comments
 (0)