thanks guys this is great insight into using exceptions. new concept for all that used to Mel.
On Mon, Aug 8, 2011 at 11:41 AM, Chad Dombrova <[email protected]> wrote: >> >> Thanks for pointing that out as well. I wanted to demonstrate a more >> explicit approach because on a pipeline artists probably would not have that >> option turned on which means they normally email the default error which is >> quite useless at times. > > the traceback module can indeed be very useful. > btw, if your pipe has a userSetup.py that everyone executes, you could add > the line: > > pm.cmdScrollFieldReporter(pm.melGlobals['gCommandReporter'], edit=True, > stackTrace=True) > > -chad > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
