-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: 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()
}
}
Â
Â