Return to Snippet

Revision: 50011
at August 4, 2011 04:42 by eristoddle


Initial Code
try:
	dosomething()
	print "Record Added"
except: # catch *all* exceptions
	e = sys.exc_info()[1]
	print "Error: %s" % e

Initial URL


Initial Description


Initial Title
Python Catch All Exceptions

Initial Tags


Initial Language
Python