• Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • pipeline
    • None

      When attempting to print a stacktrace of an error in pipeline I've encountered a problem.

       

      If I make a try/catch block to catch the error and I use the printStackTrace function in the catch block the stacktrace is not printed to the console output (I assume it's because it's printed to stderr but I couldn't find a way around that) 

       

      An example code:

       

       

      node() {
        try {
           throw "error"
        } catch (err) {
           err.printStackTrace()
        }
      }

       

       

            Unassigned Unassigned
            uriende Uri Ende
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: