Skip to content

stderr output is not printed to repl #1588

@whysoserious

Description

@whysoserious

Try running this code in cider repl:

user> (try
        (throw (Exception. "dupa"))
        (catch Exception e (println "this works")
               (.printStackTrace e)))
this works
;; => nil

Use the template below when reporting bugs. Please, make sure that
you're running the latest stable CIDER and that the problem you're reporting
hasn't been reported (and potentially fixed) already.

Steps to reproduce the problem

Run this code in cider repl:

(try
  (throw (Exception. "dupa"))
  (catch Exception e 
    (println "this works")
    (.printStackTrace e)))

Expected behavior

this works
STACKTRACE SHOULD BE PRINTED HERE
;; => nil

Actual behavior

this works
;; => nil

Environment & Version information

CIDER version information

; CIDER 0.10.2 (Java 1.8.0_25, Clojure 1.7.0, nREPL 0.2.12)

but it's also confirmed to fail in 0.11-SNAPSHOT

Emacs version

GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-21 on builder10-9.porkrind.org

Operating system

MacOS 10.10.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions