lib.py - add format exception info to a string.