This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 4 years ago

Closed 4 years ago

#856 closed defect (fixed)

Properly re-raise exceptions

Reported by: jmonnich Owned by: jmonnich
Priority: high Milestone: v0.98.1
Component: General Version:
Keywords: Cc:

Description

Right now there are tons of 'raise e' which should be 'raise'.
'raise e' loses all backtrace information...

Change History (4)

comment:1 Changed 4 years ago by jmonnich

  • Status changed from new to assigned

comment:2 Changed 4 years ago by jmonnich

  • Status changed from assigned to awaiting_merge

comment:3 Changed 4 years ago by jbenito

  • Status changed from awaiting_merge to merging

comment:4 Changed 4 years ago by Adrian Moennich <jerome.ernst.monnich@…>

  • Resolution set to fixed
  • Status changed from merging to closed

In [9d80473a08490716bb389002bf598b979135b82d/indico]:

[REF] Re-raise exceptions in a proper way

  • 'raise' instead of 'raise e'
  • remove some useless (except Exception, e: raise e) code
  • fixes #856
Note: See TracTickets for help on using tickets.