summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/chisel3/stage/ChiselStage.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/chisel3/stage/ChiselStage.scala b/src/main/scala/chisel3/stage/ChiselStage.scala
index ea40e92b..0068d86f 100644
--- a/src/main/scala/chisel3/stage/ChiselStage.scala
+++ b/src/main/scala/chisel3/stage/ChiselStage.scala
@@ -46,7 +46,7 @@ class ChiselStage extends Stage with PreservesAll[Phase] {
.augmentString(stackTrace)
.lines
.foreach(line => println(s"${ErrorLog.errTag} $line")) // scalastyle:ignore regex
- throw new StageError()
+ throw new StageError(cause=ce)
}
/** Convert a Chisel module to a CHIRRTL string