Made the traceback feature more resiliant.

Made the traceback feature more resiliant. It was crashing for me when it failed to parse something correctly occasionally.