~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-08-25 00:49:37 UTC
  • Revision ID: mbp@sourcefrog.net-20050825004937-82d58b07d948022e
- when terminated by an exception, say what it was

Show diffs side-by-side

added added

removed removed

Lines of Context:
2007
2007
            bzrlib.trace.note('broken pipe')
2008
2008
            return 2
2009
2009
        else:
2010
 
            bzrlib.trace.log_exception('terminated by exception')
 
2010
            bzrlib.trace.log_exception('terminated by exception: %s' % str(e))
2011
2011
            return 2
2012
2012
 
2013
2013