Commit 98ed5092 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Add opcode summary to SubmitManyJobs errors


Requested-by: default avatarIustin Pop <iustin@google.com>
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent ed9fda24
......@@ -1723,7 +1723,8 @@ class JobQueue(object):
status = True
data = job_id
except errors.GenericError, err:
data = str(err)
data = ("%s; opcodes %s" %
(err, utils.CommaJoin(op.Summary() for op in ops)))
status = False
results.append((status, data))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment