Ignore:
Timestamp:
16 Jan 2020, 09:40:10 (5 years ago)
Author:
Henrik Bettermann
Message:

Catch Reportlab AttributeError?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py

    r14263 r15930  
    189189        except LayoutError, err:
    190190            return False, _('Reportlab LayoutError: %s' % err)
     191        except AttributeError, err:
     192            return False, _('Reportlab AttributeError: ${a}', mapping = {'a':err})
    191193        except:
    192             return False, _('Unknown error.')
     194            return False, _('Unknown Reportlab error')
    193195        # Add student
    194196        site = grok.getSite()
Note: See TracChangeset for help on using the changeset viewer.