Issue #71: Correct traceback printing for exceptions