Print exception message instead of sys.exc_info