Ignore:
Timestamp:
Oct 11, 2008, 8:48:11 PM (16 years ago)
Author:
price
Message:

use wildcard for config.web.errormail_exclude

Once prod is really prod and dev is really dev, we'll do this
on dev instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-www/code/main.py

    r1013 r1103  
    654654             errorMessage=str(err), stderr=emsg, traceback=traceback)
    655655    details = templates.error_raw(searchList=[d])
    656     if False: #username not in config.web.errormail_exclude:
     656    exclude = config.web.errormail_exclude
     657    if username not in exclude and '*' not in exclude:
    657658        send_error_mail('xvm error on %s for %s: %s' % (op, username, err),
    658659                        details)
Note: See TracChangeset for help on using the changeset viewer.