Ignore:
Timestamp:
21 Nov 2009, 07:30:15 (15 years ago)
Author:
Henrik Bettermann
Message:

catch traceback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_aaue/clearance_edit.py

    r3996 r4549  
    136136                logger.info('%s requested clearance' % (student_id))
    137137                clear_doc.edit(mapping = {'request_date': current,})
    138                 wftool.doActionFor(info['clear'],'close')
     138                try:
     139                    wftool.doActionFor(info['clear'],'close')
     140                except:
     141                    logger.info("closing of clearance object of %s failed" % (student_id))
     142                    continue
    139143                wftool.doActionFor(info['student'],'request_clearance',dest_container=1)
    140144                psm = "You successfully requested clearance!"
Note: See TracChangeset for help on using the changeset viewer.