799
798
def run_bzr_catch_errors(argv):
802
803
except (KeyboardInterrupt, Exception), e:
803
804
# used to handle AssertionError and KeyboardInterrupt
804
805
# specially here, but hopefully they're handled ok by the logger now
806
807
if os.environ.get('BZR_PDB'):
807
808
print '**** entering debugger'
809
810
pdb.post_mortem(sys.exc_traceback)
813
831
class HelpCommandIndex(object):