Don't miserably crash when failing to join() the error path when checking manifest schema

This commit is contained in:
Alexandre Aubin 2024-01-17 03:48:26 +01:00
parent c989679ba3
commit 958bbe61e8

View file

@ -2004,7 +2004,12 @@ class Manifest(TestSuite):
return return
for error in v.iter_errors(self.manifest): for error in v.iter_errors(self.manifest):
yield Info("Error validating manifest using schema: in key " + ' > '.join(error.path) + "\n " + error.message) try:
error_path = ' > '.join(error.path)
except:
error_path = str(error.path)
yield Info("Error validating manifest using schema: in key " + error_path + "\n " + error.message)
######################################## ########################################