This is an automated email from the ASF dual-hosted git repository.
lresende pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-toree.git
The following commit(s) were added to refs/heads/master by this push:
new 820462b Fix exception propagation when using Scala 2.12
820462b is described below
commit 820462be202394a40e3599a43b204b9ffcf76415
Author: Luciano Resende <[email protected]>
AuthorDate: Fri May 7 22:24:11 2021 -0700
Fix exception propagation when using Scala 2.12
---
.../toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/scala-interpreter/src/main/scala-2.12/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
b/scala-interpreter/src/main/scala-2.12/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
index 2d7f68b..393cbee 100644
---
a/scala-interpreter/src/main/scala-2.12/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
+++
b/scala-interpreter/src/main/scala-2.12/org/apache/toree/kernel/interpreter/scala/ScalaInterpreterSpecific.scala
@@ -422,7 +422,7 @@ trait ScalaInterpreterSpecific extends SettingsProducerLike
{ this: ScalaInterpr
ExecuteError(
ex.getClass.getName,
ex.getLocalizedMessage,
- formattedException.slice(1, formattedException.size - 1).toList
+ formattedException.toList
)
// Compile time error, need to check internal reporter
case _ =>