Log sign errors

This commit is contained in:
shortcutme 2017-08-18 14:38:58 +02:00
parent 4c7500e248
commit f1c320dd22
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ class UiWebsocket(object):
except Exception, err:
self.cmd("notification", ["error", _["Content signing failed"] + "<br><small>%s</small>" % err])
self.response(to, {"error": "Site sign failed: %s" % err})
self.log.error("Site sign failed: %s: %s" % (inner_path, Debug.formatException(err)))
return
site.content_manager.loadContent(inner_path, add_bad_files=False) # Load new content.json, ignore errors