How do I configure `BasicJvmScriptingHost` such th...
# scripting
e
How do I configure
BasicJvmScriptingHost
such that I can get exceptions thrown during script evaluation?
found it, it is in the value returned by
eval()
m
If you haven't already found it, the Jupyter Kotlin kernel is my go to canonical example of everything scripting (although in my project I also need completion support). I'm tracking it for clues as to how to move to K2: https://github.com/Kotlin/kotlin-jupyter/blob/eca3418a3e1246c187a4d4c6a4f5dd6d24fd[…]rg/jetbrains/kotlinx/jupyter/repl/impl/InternalEvaluatorImpl.kt
e
thanks! that does seem like a good place to look.