mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Don't miserably crash when failing to join() the error path when checking manifest schema
This commit is contained in:
parent
c989679ba3
commit
958bbe61e8
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
|
|
Loading…
Reference in a new issue