IronPython: Catching exceptions

Don’t know why this wasn’t easy to spot. To catch an exception and display the StackTrace on IronPython use:

import sys

try:
	print "hola"
	print 3/0 #Select which exception to test
	raise Exception("Error...")
except Exception, e:
	print e.clsException