Project

General

Profile

« Previous | Next » 

Revision 366

exc.py: Print ! before error messages so they can be found and counted more easily in log files

View differences:

lib/exc.py
17 17
def print_ex(e, with_name=True):
18 18
    msg = strings.ensure_newl(str(e))
19 19
    if with_name: msg = util.type_name(e)+': '+msg
20
    sys.stderr.write(msg)
20
    sys.stderr.write('! '+msg)

Also available in: Unified diff