Detailed log certSelect error messages

This commit is contained in:
shortcutme 2018-11-26 00:08:22 +01:00
parent 3dfb40b57e
commit a1333d8d6b
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -750,7 +750,7 @@ class UiWebsocket(object):
else: else:
self.response(to, "Not changed") self.response(to, "Not changed")
except Exception, err: except Exception, err:
self.log.error("CertAdd error: Exception - %s" % err.message) self.log.error("CertAdd error: Exception - %s (%s)" % (err.message, Debug.formatException(err)))
self.response(to, {"error": err.message}) self.response(to, {"error": err.message})
def cbCertAddConfirm(self, to, domain, auth_type, auth_user_name, cert): def cbCertAddConfirm(self, to, domain, auth_type, auth_user_name, cert):