Ignore:
Timestamp:
26 Oct 2012, 19:56:02 (12 years ago)
Author:
Henrik Bettermann
Message:

Add log message if the impossible happens.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r9424 r9428  
    15931593            if bed.__parent__.__parent__ is None:
    15941594                self.flash(_('System error: Please contact the adminsitrator.'))
     1595                self.context.writeLogMessage(self, 'fatal error: %s' % bed.bed_id)
    15951596                return
    15961597        else:
     
    16071608                if bed.__parent__.__parent__ is None:
    16081609                    self.flash(_('System error: Please contact the adminsitrator.'))
     1610                    self.context.writeLogMessage(self, 'fatal error: %s' % bed.bed_id)
    16091611                    return
    16101612                bed.bookBed(student.student_id)
Note: See TracChangeset for help on using the changeset viewer.