Revision 366
Added by Aaron Marcuse-Kubitza almost 13 years ago
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
exc.py: Print ! before error messages so they can be found and counted more easily in log files