Allow transaction errors

This commit is contained in:
shortcutme 2017-01-11 13:13:37 +01:00
parent 4e96ddfb9e
commit 60fc5fb4d3
No known key found for this signature in database
GPG key ID: 9557210F5E536D3D
2 changed files with 9 additions and 4 deletions

View file

@ -212,7 +212,7 @@ class ContentManager(object):
# Update the content
self.contents[content_inner_path] = new_content
except Exception, err:
self.log.warning("Content.json parse error: %s" % Debug.formatException(err))
self.log.warning("%s parse error: %s" % (content_inner_path, Debug.formatException(err)))
return [], [] # Content.json parse error
# Add changed files to bad files