address stack trace for arches no found for platform

This commit is contained in:
Louis Abel 2022-11-20 11:05:47 -07:00
parent 2798f28fc3
commit 73d774e0e4
Signed by: label
GPG Key ID: B37E62D143879B36
1 changed files with 4 additions and 0 deletions

View File

@ -1430,6 +1430,10 @@ class IsoBuild:
arch
)
if arch not in keysect:
self.log.warn(Color.WARN + 'This architecture (' + arch + ') does not exist for this image.')
continue
source_path = keysect[arch]
drop_name = source_path.split('/')[-1]