Add build ID to failure message
The build ID is useful for associating log entries. Change-Id: I5951411e04d065af5ba3bac0b27e326588683f2e
This commit is contained in:
parent
69613c7a07
commit
ac50479e56
@ -1059,8 +1059,9 @@ class UploadWorker(BaseWorker):
|
||||
sha256=image.sha256,
|
||||
)
|
||||
except Exception:
|
||||
self.log.exception("Failed to upload image %s to provider %s" %
|
||||
(image_name, provider.name))
|
||||
self.log.exception(
|
||||
"Failed to upload build %s of image %s to provider %s" %
|
||||
(build_id, image_name, provider.name))
|
||||
data = zk.ImageUpload()
|
||||
data.state = zk.FAILED
|
||||
return data
|
||||
|
Loading…
x
Reference in New Issue
Block a user