Unable to show stack trace on Exception in Glue interactive session

0

When using https://docs.aws.amazon.com/glue/latest/dg/interactive-sessions.html in my jupyter notebook whenever an exception is raised I do not see any details:

def main():
    raise Exception("afdsa")

main()
# Exception: afdsa

When I do the same in normal python kernel I see stack trace and line number:

---------------------------------------------------------------------------
Exception                                 Traceback (most recent call last)
Cell In [1], line 4
      1 def main():
      2     raise Exception("afdsa")
----> 4 main()

Cell In [1], line 2, in main()
      1 def main():
----> 2     raise Exception("afdsa")

Exception: afdsa

Is there a way to enable this?

Thank you.

asked a year ago63 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions