|
@@ -240,7 +240,8 @@ without iterating through the remaining projects.
|
|
|
rc = rc or errno.EINTR
|
|
rc = rc or errno.EINTR
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
# Catch any other exceptions raised
|
|
# Catch any other exceptions raised
|
|
|
- print('Got an error, terminating the pool: %r' % e,
|
|
|
|
|
|
|
+ print('Got an error, terminating the pool: %s: %s' %
|
|
|
|
|
+ (type(e).__name__, e),
|
|
|
file=sys.stderr)
|
|
file=sys.stderr)
|
|
|
pool.terminate()
|
|
pool.terminate()
|
|
|
rc = rc or getattr(e, 'errno', 1)
|
|
rc = rc or getattr(e, 'errno', 1)
|
|
@@ -254,7 +255,8 @@ without iterating through the remaining projects.
|
|
|
try:
|
|
try:
|
|
|
project = self._SerializeProject(p)
|
|
project = self._SerializeProject(p)
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
- print('Project list error: %r' % e,
|
|
|
|
|
|
|
+ print('Project list error on project %s: %s: %s' %
|
|
|
|
|
+ (p.name, type(e).__name__, e),
|
|
|
file=sys.stderr)
|
|
file=sys.stderr)
|
|
|
return
|
|
return
|
|
|
except KeyboardInterrupt:
|
|
except KeyboardInterrupt:
|