Changeset 75605c7 for fedd


Ignore:
Timestamp:
Oct 7, 2013 11:32:07 AM (6 years ago)
Author:
Ted Faber <faber@…>
Branches:
master
Children:
5afcc33
Parents:
f0b96ba
Message:

Correct logging on the weird branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/remote_service.py

    rf0b96ba r75605c7  
    585585                            "Unexpected fault body")
    586586            except:
    587                 self.log.error('Something weird: %s' % traceback.format_exc())
     587                if self.log:
     588                    self.log.error('Something weird: %s' % \
     589                            traceback.format_exc())
     590                raise service_error(service_error.internal,
     591                        'Something weird: %s' % traceback.format_exc())
    588592
    589593
Note: See TracChangeset for help on using the changeset viewer.